Description: Retrieve Software packages types
URL: http://{your-server-url}/api/v2/core/software/packages/types
Method: GET
Token Required: True
token: {token}
content-type: application/json or content-type: application/xml
Parameter | Type | Nullable | Description |
---|---|---|---|
ids | string | True | comma separated values, eg. ids=1,2,3 |
names | string | True | Comma seperated values, e.g. names=package1,package22 |
sort | string | True | sorting fields: id and name. Comma seperated values, unary negative to imply descending sort order, e.g. sort=-id |
page | int | True | page number |
rpp | int | True | records per page, default = 50, max = 500 |
Example: http://{your-server-url}/api/v2/core/software/packages/types?ids=string&names=string&sort=string
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareResponse
Parameter | Type |
---|---|
Response.TotalPages | int |
Response.SoftwarePackageTypes | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.SoftwarePackageType[] |
Response.CurrentPage | int |
Response.Rpp | int |
Response.TotalCount | int |
<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> <CurrentPage>123</CurrentPage> <Rpp>123</Rpp> <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> <TotalCount>123</TotalCount> <TotalPages>123</TotalPages> </SoftwareResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "CurrentPage":123, "Rpp":123, "SoftwarePackageTypes":[ { "Id":123, "Name":"String" } ], "TotalCount":123, "TotalPages":123 }