POST api/OrderStates
Request Information
URI Parameters
None.
Body Parameters
OrderStateModelName | Description | Type | Additional information |
---|---|---|---|
SalesForceId | string |
None. |
|
Note | string |
None. |
|
OrderKey | string |
None. |
|
OrderStateTypeId | integer |
None. |
|
CreatedByEntityKey | string |
None. |
|
CreatedByEntityTypeId | integer |
None. |
|
OrderStateReason | OrderStateReason |
None. |
Request Formats
application/json, text/json
Sample:
{ "SalesForceId": "sample string 1", "Note": "sample string 2", "OrderKey": "sample string 3", "OrderStateTypeId": 4, "CreatedByEntityKey": "sample string 5", "CreatedByEntityTypeId": 6, "OrderStateReason": { "Note": "sample string 1", "OrderStateChildReasonId": 2 } }
application/xml, text/xml
Sample:
<OrderStateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model"> <CreatedByEntityKey>sample string 5</CreatedByEntityKey> <CreatedByEntityTypeId>6</CreatedByEntityTypeId> <Note>sample string 2</Note> <OrderKey>sample string 3</OrderKey> <OrderStateReason> <Note>sample string 1</Note> <OrderStateChildReasonId>2</OrderStateChildReasonId> </OrderStateReason> <OrderStateTypeId>4</OrderStateTypeId> <SalesForceId>sample string 1</SalesForceId> </OrderStateModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.