POST api/v1/check_order

Request Information

URI Parameters

None.

Body Parameters

order
NameDescriptionTypeAdditional information
country

integer

None.

city

integer

None.

town

integer

None.

ziporder

string

None.

iduser

integer

None.

idorder

integer

None.

odrernumber

integer

None.

address

string

None.

phon

string

None.

note

string

None.

token

string

None.

aname

string

None.

details

Collection of order_details

None.

Request Formats

application/json, text/json

Sample:
{
  "country": 1,
  "city": 2,
  "town": 3,
  "ziporder": "sample string 4",
  "iduser": 5,
  "idorder": 6,
  "odrernumber": 7,
  "address": "sample string 8",
  "phon": "sample string 9",
  "note": "sample string 10",
  "token": "sample string 11",
  "aname": "sample string 12",
  "details": [
    {
      "proudect_id": 1,
      "quntity": 2,
      "note": "sample string 3"
    },
    {
      "proudect_id": 1,
      "quntity": 2,
      "note": "sample string 3"
    }
  ]
}

text/xml

Sample:
<order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/creative_api">
  <address>sample string 8</address>
  <aname>sample string 12</aname>
  <city>2</city>
  <country>1</country>
  <details>
    <order_details>
      <note>sample string 3</note>
      <proudect_id>1</proudect_id>
      <quntity>2</quntity>
    </order_details>
    <order_details>
      <note>sample string 3</note>
      <proudect_id>1</proudect_id>
      <quntity>2</quntity>
    </order_details>
  </details>
  <idorder>6</idorder>
  <iduser>5</iduser>
  <note>sample string 10</note>
  <odrernumber>7</odrernumber>
  <phon>sample string 9</phon>
  <token>sample string 11</token>
  <town>3</town>
  <ziporder>sample string 4</ziporder>
</order>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

outdata
NameDescriptionTypeAdditional information
data

None.

Response Formats

application/json, text/json

Sample:
{
  "data": null,
  "rowcount": 1,
  "status": true,
  "msg_error": "sample string 3"
}

text/xml

Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/creative_api">
  <data i:nil="true" />
  <msg_error>sample string 3</msg_error>
  <rowcount>1</rowcount>
  <status>true</status>
</outdata>