Description: Update Software Packages by id
URL: http://{your-server-url}/api/v2/core/software/packages/{id}
Method: PUT
Token Required: True
content-type: application/json or content-type: application/xml
token: {token}
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareRequest
| Parameter | Type | Nullable |
|---|---|---|
| Request.SoftwarePackages | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.SoftwarePackage[] |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareResponse
| Parameter | Type |
|---|---|
| Response.SoftwarePackages | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.SoftwarePackage[] |
<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">
<SoftwarePackages xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software">
<a:SoftwarePackage>
<a:Id>123</a:Id>
<a:IsCommitted>true</a:IsCommitted>
<a:IsDeprecated>true</a:IsDeprecated>
<a:MetaData xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO">
<b:KeyValuePair>
<b:Key>String</b:Key>
<b:Value>String</b:Value>
</b:KeyValuePair>
</a:MetaData>
<a:Name>String</a:Name>
<a:Size>0</a:Size>
<a:SoftwarePackageTypeId>123</a:SoftwarePackageTypeId>
<a:Version>String</a:Version>
</a:SoftwarePackage>
</SoftwarePackages>
</SoftwareRequest>
{
"SoftwarePackages":[
{
"Id":123,
"IsCommitted":true,
"IsDeprecated":true,
"MetaData":[
{
"Key":"String",
"Value":"String"
}
],
"Name":"String",
"Size":0,
"SoftwarePackageTypeId":123,
"Version":"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>
<SoftwarePackages xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software">
<a:SoftwarePackage>
<a:CreatedDate>2015-08-25T17:54:28.8337621Z</a:CreatedDate>
<a:DeprecatedDate>2015-08-25T17:54:28.8337621Z</a:DeprecatedDate>
<a:Id>123</a:Id>
<a:IsCommitted>true</a:IsCommitted>
<a:IsDeprecated>true</a:IsDeprecated>
<a:MetaData xmlns:b="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO">
<b:KeyValuePair>
<b:Key>String</b:Key>
<b:Value>String</b:Value>
</b:KeyValuePair>
</a:MetaData>
<a:Name>String</a:Name>
<a:Size>0</a:Size>
<a:SoftwarePackageTypeId>123</a:SoftwarePackageTypeId>
<a:UpdatedDate>2015-08-25T17:54:28.8337621Z</a:UpdatedDate>
<a:Version>String</a:Version>
</a:SoftwarePackage>
</SoftwarePackages>
</SoftwareResponse>
{
"DebugMessage":"String",
"Errors":[
{
"Code":"String",
"Message":"String",
"StackTrace":"String"
}
],
"Status":1,
"SoftwarePackages":[
{
"CreatedDate":"\/Date(1440525268833)\/",
"DeprecatedDate":"\/Date(1440525268833)\/",
"Id":123,
"IsCommitted":true,
"IsDeprecated":true,
"MetaData":[
{
"Key":"String",
"Value":"String"
}
],
"Name":"String",
"Size":0,
"SoftwarePackageTypeId":123,
"UpdatedDate":"\/Date(1440525268833)\/",
"Version":"String"
}
]
}