POST api/StatusSync/T100CancelOrder

Request Information

URI Parameters

None.

Body Parameters

CancelOrderM
NameDescriptionTypeAdditional information
SchemaVersion

string

None.

ServiceName

string

None.

Site

string

None.

AppId

string

None.

data

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "SchemaVersion": "sample string 1",
  "ServiceName": "sample string 2",
  "Site": "sample string 3",
  "AppId": "sample string 4",
  "data": [
    {
      "Brand": "sample string 1",
      "ModifiedUser": "sample string 2",
      "ModifiedOn": "sample string 3",
      "T100OrderNo": "sample string 4",
      "T100OrderStatus": "sample string 5",
      "Items": [
        {
          "LineNo": "sample string 1",
          "EOMItemCode": "sample string 2",
          "FeatureCode": "sample string 3",
          "OrderQty": 4,
          "ShipQty": "sample string 5",
          "ItemStatus": "sample string 6",
          "CancelRemrk": "sample string 7"
        },
        {
          "LineNo": "sample string 1",
          "EOMItemCode": "sample string 2",
          "FeatureCode": "sample string 3",
          "OrderQty": 4,
          "ShipQty": "sample string 5",
          "ItemStatus": "sample string 6",
          "CancelRemrk": "sample string 7"
        }
      ]
    },
    {
      "Brand": "sample string 1",
      "ModifiedUser": "sample string 2",
      "ModifiedOn": "sample string 3",
      "T100OrderNo": "sample string 4",
      "T100OrderStatus": "sample string 5",
      "Items": [
        {
          "LineNo": "sample string 1",
          "EOMItemCode": "sample string 2",
          "FeatureCode": "sample string 3",
          "OrderQty": 4,
          "ShipQty": "sample string 5",
          "ItemStatus": "sample string 6",
          "CancelRemrk": "sample string 7"
        },
        {
          "LineNo": "sample string 1",
          "EOMItemCode": "sample string 2",
          "FeatureCode": "sample string 3",
          "OrderQty": 4,
          "ShipQty": "sample string 5",
          "ItemStatus": "sample string 6",
          "CancelRemrk": "sample string 7"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<CancelOrderM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EOMModel">
  <AppId>sample string 4</AppId>
  <SchemaVersion>sample string 1</SchemaVersion>
  <ServiceName>sample string 2</ServiceName>
  <Site>sample string 3</Site>
  <data>
    <Order>
      <Brand>sample string 1</Brand>
      <Items>
        <Item>
          <CancelRemrk>sample string 7</CancelRemrk>
          <EOMItemCode>sample string 2</EOMItemCode>
          <FeatureCode>sample string 3</FeatureCode>
          <ItemStatus>sample string 6</ItemStatus>
          <LineNo>sample string 1</LineNo>
          <OrderQty>4</OrderQty>
          <ShipQty>sample string 5</ShipQty>
        </Item>
        <Item>
          <CancelRemrk>sample string 7</CancelRemrk>
          <EOMItemCode>sample string 2</EOMItemCode>
          <FeatureCode>sample string 3</FeatureCode>
          <ItemStatus>sample string 6</ItemStatus>
          <LineNo>sample string 1</LineNo>
          <OrderQty>4</OrderQty>
          <ShipQty>sample string 5</ShipQty>
        </Item>
      </Items>
      <ModifiedOn>sample string 3</ModifiedOn>
      <ModifiedUser>sample string 2</ModifiedUser>
      <T100OrderNo>sample string 4</T100OrderNo>
      <T100OrderStatus>sample string 5</T100OrderStatus>
    </Order>
    <Order>
      <Brand>sample string 1</Brand>
      <Items>
        <Item>
          <CancelRemrk>sample string 7</CancelRemrk>
          <EOMItemCode>sample string 2</EOMItemCode>
          <FeatureCode>sample string 3</FeatureCode>
          <ItemStatus>sample string 6</ItemStatus>
          <LineNo>sample string 1</LineNo>
          <OrderQty>4</OrderQty>
          <ShipQty>sample string 5</ShipQty>
        </Item>
        <Item>
          <CancelRemrk>sample string 7</CancelRemrk>
          <EOMItemCode>sample string 2</EOMItemCode>
          <FeatureCode>sample string 3</FeatureCode>
          <ItemStatus>sample string 6</ItemStatus>
          <LineNo>sample string 1</LineNo>
          <OrderQty>4</OrderQty>
          <ShipQty>sample string 5</ShipQty>
        </Item>
      </Items>
      <ModifiedOn>sample string 3</ModifiedOn>
      <ModifiedUser>sample string 2</ModifiedUser>
      <T100OrderNo>sample string 4</T100OrderNo>
      <T100OrderStatus>sample string 5</T100OrderStatus>
    </Order>
  </data>
</CancelOrderM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CancelOrderM'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.