GET api/SetStatus?OrderGUID={OrderGUID}&OriginApplication={OriginApplication}&SourceApplication={SourceApplication}&Status={Status}&StatusDate={StatusDate}&SendCommunication={SendCommunication}
Updates an order's status using the OrderGUID which is linked to the orders on clouds side. This method was added because when a B pair is cancelled right after ordering and a new one is placed the order number stays the same so we need the new one to be updated with the QC passed.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderGUID | globally unique identifier |
Required |
|
| OriginApplication | string |
Required |
|
| SourceApplication | string |
Required |
|
| Status | string |
Required |
|
| StatusDate | date |
Required |
|
| SendCommunication | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
ReturnObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Id | integer |
None. |
|
| Message | string |
None. |
|
| ExceptionMessage | string |
None. |
|
| OrderGUID | globally unique identifier |
None. |
|
| OrderNumber | string |
None. |
|
| AdditionalData_1 | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Id": 2,
"Message": "sample string 3",
"ExceptionMessage": "sample string 4",
"OrderGUID": "34ec4c2c-8638-4386-a18c-4d28d6638bad",
"OrderNumber": "sample string 6",
"AdditionalData_1": "sample string 7"
}
application/xml, text/xml
Sample:
<ReturnObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communication.Module.TransferLayer.Models"> <AdditionalData_1>sample string 7</AdditionalData_1> <ExceptionMessage>sample string 4</ExceptionMessage> <Id>2</Id> <Message>sample string 3</Message> <OrderGUID>34ec4c2c-8638-4386-a18c-4d28d6638bad</OrderGUID> <OrderNumber>sample string 6</OrderNumber> <Success>true</Success> </ReturnObject>