Description: Update Package files
URL: http://{your-server-url}/api/v2/core/software/packages/files
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.PackageFiles | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.PackageFile[] |
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareResponse
Parameter | Type |
---|---|
Response.PackageFiles | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.PackageFile[] |
<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"> <PackageFiles xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software"> <a:PackageFile> <a:BaseFile>String</a:BaseFile> <a:Id>123</a:Id> <a:Name>String</a:Name> <a:PackageFileTypeId>123</a:PackageFileTypeId> <a:Size>0</a:Size> <a:SoftwarePackageId>123</a:SoftwarePackageId> <a:Version>String</a:Version> </a:PackageFile> </PackageFiles> </SoftwareRequest>
{ "PackageFiles":[ { "BaseFile":"String", "Id":123, "Name":"String", "PackageFileTypeId":123, "Size":0, "SoftwarePackageId":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> <PackageFiles xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software"> <a:PackageFile> <a:BaseFile>String</a:BaseFile> <a:CreatedDate>2015-08-25T17:54:28.8417646Z</a:CreatedDate> <a:Id>123</a:Id> <a:Name>String</a:Name> <a:PackageFileTypeId>123</a:PackageFileTypeId> <a:Size>0</a:Size> <a:SoftwarePackageId>123</a:SoftwarePackageId> <a:UpdatedDate>2015-08-25T17:54:28.8417646Z</a:UpdatedDate> <a:Version>String</a:Version> </a:PackageFile> </PackageFiles> </SoftwareResponse>
{ "DebugMessage":"String", "Errors":[ { "Code":"String", "Message":"String", "StackTrace":"String" } ], "Status":1, "PackageFiles":[ { "BaseFile":"String", "CreatedDate":"\/Date(1440525268841)\/", "Id":123, "Name":"String", "PackageFileTypeId":123, "Size":0, "SoftwarePackageId":123, "UpdatedDate":"\/Date(1440525268841)\/", "Version":"String" } ] }