POST api/ordersetstatus

Request Information

URI Parameters

None.

Body Parameters

input_data
NameDescriptionTypeAdditional information
product_id

id number for row

integer

None.

id

integer

None.

code

integer

None.

OrderStatus

integer

None.

lang_id

integer

None.

c

integer

None.

user_id

integer

None.

main_category

integer

None.

sub_category

integer

None.

country_id

integer

None.

city_id

integer

None.

idorder

integer

None.

Move_Side

left=0 rigth =1

integer

None.

media_type

products=1 category =2

integer

None.

site_id

integer

None.

token

string

None.

accid

string

None.

message

string

None.

father_name

string

None.

page_number

integer

None.

page_count_row

integer

None.

father

integer

None.

status

integer

None.

start_dare

date

None.

end_dare

date

None.

Request Formats

application/json, text/json

Sample:
{
  "product_id": 1,
  "id": 2,
  "code": 3,
  "OrderStatus": 4,
  "lang_id": 5,
  "c": 6,
  "user_id": 7,
  "main_category": 8,
  "sub_category": 9,
  "country_id": 10,
  "city_id": 11,
  "idorder": 12,
  "Move_Side": 13,
  "media_type": 14,
  "site_id": 15,
  "token": "sample string 16",
  "accid": "sample string 17",
  "message": "sample string 18",
  "father_name": "sample string 19",
  "page_number": 20,
  "page_count_row": 21,
  "father": 22,
  "status": 23,
  "start_dare": "2025-12-16T07:13:17.8706842+03:00",
  "end_dare": "2025-12-16T07:13:17.8706842+03:00"
}

text/xml

Sample:
<input_data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zad_api">
  <Move_Side>13</Move_Side>
  <OrderStatus>4</OrderStatus>
  <accid>sample string 17</accid>
  <c>6</c>
  <city_id>11</city_id>
  <code>3</code>
  <country_id>10</country_id>
  <end_dare>2025-12-16T07:13:17.8706842+03:00</end_dare>
  <father>22</father>
  <father_name>sample string 19</father_name>
  <id>2</id>
  <idorder>12</idorder>
  <lang_id>5</lang_id>
  <main_category>8</main_category>
  <media_type>14</media_type>
  <message>sample string 18</message>
  <page_count_row>21</page_count_row>
  <page_number>20</page_number>
  <product_id>1</product_id>
  <site_id>15</site_id>
  <start_dare>2025-12-16T07:13:17.8706842+03:00</start_dare>
  <status>23</status>
  <sub_category>9</sub_category>
  <token>sample string 16</token>
  <user_id>7</user_id>
</input_data>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

outdata
NameDescriptionTypeAdditional information
data

DataTable

None.

rowcount

if get data then return count row else return the id row affected

integer

None.

status

boolean

None.

msg_error

string

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/Zad_api">
  <data i:nil="true" />
  <msg_error>sample string 3</msg_error>
  <rowcount>1</rowcount>
  <status>true</status>
</outdata>