Description: Create software packages types
URL: http://{your-server-url}/api/v2/core/software/packages/types
Method: POST
Token Required: True
token: {token}
content-type: application/json or content-type: application/xml
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareRequest
Parameter | Type | Nullable |
---|---|---|
Request.SoftwarePackageTypes | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.SoftwarePackageType[] |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareResponse
Parameter | Type |
---|---|
Response.SoftwarePackageTypes | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.SoftwarePackageType[] |
<SoftwareRequest xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <SoftwarePackageTypes xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software"> <a:SoftwarePackageType> <a:Name>String</a:Name> </a:SoftwarePackageType> </SoftwarePackageTypes> </SoftwareRequest>
{ "SoftwarePackageTypes":[ { "Name":"String" } ] }
<SoftwareResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage> <Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages"> <Error> <Code>String</Code> <Message>String</Message> <StackTrace>String</StackTrace> </Error> </Errors> <Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status> <SoftwarePackageTypes xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software"> <a:SoftwarePackageType> <a:Id>123</a:Id> <a:Name>String</a:Name> </a:SoftwarePackageType> </SoftwarePackageTypes> </SoftwareResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "SoftwarePackageTypes":[ { "Id":123, "Name":"String" } ] }