PUT PurchaseContract/UpdatePurchaseContractAmendment
Update a purchase contract amendment
Request Information
URI Parameters
Body Parameters
An updated shape of a purchase contract
ClsGrPurConAmendUpdateName | Description | Type | Additional Information |
---|---|---|---|
PurchaseContractGuid |
Guid of the contract - will be used to look up the contract |
globally unique identifier |
Required |
PurConAmendGuid |
Guid of the contract amendment - will be used to look up the contract |
globally unique identifier |
Required |
ContractSigned | boolean |
Required |
Request Formats
application/json, text/json
{ "PurchaseContractGuid": "ce6580d0-1b8d-43c3-80dc-eead868ae841", "PurConAmendGuid": "6aa0b790-11d3-4bdc-aadd-956b79d9f4e6", "ContractSigned": true }
application/xml, text/xml
<ClsGrPurCon.ClsGrPurConAmendUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Grain"> <ContractSigned>true</ContractSigned> <PurConAmendGuid>6aa0b790-11d3-4bdc-aadd-956b79d9f4e6</PurConAmendGuid> <PurchaseContractGuid>ce6580d0-1b8d-43c3-80dc-eead868ae841</PurchaseContractGuid> </ClsGrPurCon.ClsGrPurConAmendUpdate>
application/x-www-form-urlencoded
Response Information
Resource Description
Update a purchase contract amendment
AgvPurchaseContractAmendName | Description | Type | Additional Information |
---|---|---|---|
Status |
0 - Success; 1 - An error occurred; 2 - An error occurred; 3 - Descriptive message, process was successful |
string | |
Message |
Informational message that corresponds to the Status returned; 0 - Message will be "OK"; 1 - Detailed message returned to give user an indication of what went wrong; 2 - Less detailed message returned that may not mean anything to the user but that the application might use to take a corrective action; 3 - Not an error but something the user might need to know |
string | |
ErrorList |
List of error messages by the API call |
Collection of string | |
WarningList |
List of warning messages by the API call |
Collection of string |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "ErrorList": [ "sample string 1", "sample string 2" ], "WarningList": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
<AgvPurchaseContractAmend xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Contract.Purchase"> <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorList> <Message>sample string 2</Message> <Status>sample string 1</Status> <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </WarningList> </AgvPurchaseContractAmend>