POST api/Order/AssignOrder
Request Information
URI Parameters
None.
Body Parameters
assignOrdersModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| user_type_id | integer |
None. |
|
| pickup_date | date |
None. |
|
| pickup_day | string |
None. |
|
| delivery_day | string |
None. |
|
| delivery_address | string |
None. |
|
| pickup_address | string |
None. |
|
| assign_to | integer |
None. |
|
| AssignToName | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerAddress | string |
None. |
|
| customer_id | integer |
None. |
|
| jacket | integer |
None. |
|
| bad_cover | integer |
None. |
|
| blanket | integer |
None. |
|
| others | integer |
None. |
|
| total | decimal number |
None. |
|
| qty | decimal number |
None. |
|
| bag_no | string |
None. |
|
| payment_status | string |
None. |
|
| payment_mode | string |
None. |
|
| payment_date | date |
None. |
|
| TotalRows | integer |
None. |
|
| order_status | string |
None. |
|
| created_date | date |
None. |
|
| delivery_date | date |
None. |
|
| waking_customer | boolean |
None. |
|
| assign_date | date |
None. |
|
| bookNo | string |
None. |
|
| OrderDetail | Collection of OrderDetailModel |
None. |
|
| OrderServiceCost | Collection of OrderServiceCostModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"user_type_id": 2,
"pickup_date": "2025-12-18T16:07:39.6385847+05:00",
"pickup_day": "sample string 4",
"delivery_day": "sample string 5",
"delivery_address": "sample string 6",
"pickup_address": "sample string 7",
"assign_to": 8,
"AssignToName": "sample string 9",
"CustomerName": "sample string 10",
"CustomerAddress": "sample string 11",
"customer_id": 12,
"jacket": 13,
"bad_cover": 14,
"blanket": 15,
"others": 16,
"total": 17.0,
"qty": 18.0,
"bag_no": "sample string 19",
"payment_status": "sample string 20",
"payment_mode": "sample string 21",
"payment_date": "2025-12-18T16:07:39.6385847+05:00",
"TotalRows": 23,
"order_status": "sample string 24",
"created_date": "2025-12-18T16:07:39.6395863+05:00",
"delivery_date": "2025-12-18T16:07:39.6395863+05:00",
"waking_customer": true,
"assign_date": "2025-12-18T16:07:39.6395863+05:00",
"bookNo": "sample string 29",
"OrderDetail": [
{
"id": 1,
"order_id": 2,
"service_id": 3,
"cloth_id": 4,
"unit_id": 5,
"unit_value": 6.0,
"price": 7.0,
"balance_value": 8.0,
"total": 9.0,
"service": "sample string 10",
"cloth": "sample string 11",
"return_value": 12.0,
"received_value": 13.0,
"is_done": true,
"is_partial": true,
"unit": "sample string 16",
"image_path": "sample string 17",
"ServiceDate": "2025-12-18T16:07:39.6395863+05:00",
"full_name": "sample string 19",
"created_date": "2025-12-18T16:07:39.6395863+05:00",
"cloth_name": "sample string 21",
"service_name": "sample string 22",
"TotalRows": 23
},
{
"id": 1,
"order_id": 2,
"service_id": 3,
"cloth_id": 4,
"unit_id": 5,
"unit_value": 6.0,
"price": 7.0,
"balance_value": 8.0,
"total": 9.0,
"service": "sample string 10",
"cloth": "sample string 11",
"return_value": 12.0,
"received_value": 13.0,
"is_done": true,
"is_partial": true,
"unit": "sample string 16",
"image_path": "sample string 17",
"ServiceDate": "2025-12-18T16:07:39.6395863+05:00",
"full_name": "sample string 19",
"created_date": "2025-12-18T16:07:39.6395863+05:00",
"cloth_name": "sample string 21",
"service_name": "sample string 22",
"TotalRows": 23
}
],
"OrderServiceCost": [
{
"id": 1,
"service_id": 2,
"kg_value": 3,
"kg_price": 4.0,
"kg_total": 5.0,
"bag_no": "sample string 6",
"order_id": 7,
"service": "sample string 8"
},
{
"id": 1,
"service_id": 2,
"kg_value": 3,
"kg_price": 4.0,
"kg_total": 5.0,
"bag_no": "sample string 6",
"order_id": 7,
"service": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<assignOrdersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models">
<AssignToName>sample string 9</AssignToName>
<CustomerAddress>sample string 11</CustomerAddress>
<CustomerName>sample string 10</CustomerName>
<OrderDetail>
<OrderDetailModel>
<TotalRows>23</TotalRows>
<cloth_name>sample string 21</cloth_name>
<created_date>2025-12-18T16:07:39.6395863+05:00</created_date>
<full_name>sample string 19</full_name>
<service_name>sample string 22</service_name>
<ServiceDate>2025-12-18T16:07:39.6395863+05:00</ServiceDate>
<balance_value>8</balance_value>
<cloth>sample string 11</cloth>
<cloth_id>4</cloth_id>
<id>1</id>
<image_path>sample string 17</image_path>
<is_done>true</is_done>
<is_partial>true</is_partial>
<order_id>2</order_id>
<price>7</price>
<received_value>13</received_value>
<return_value>12</return_value>
<service>sample string 10</service>
<service_id>3</service_id>
<total>9</total>
<unit>sample string 16</unit>
<unit_id>5</unit_id>
<unit_value>6</unit_value>
</OrderDetailModel>
<OrderDetailModel>
<TotalRows>23</TotalRows>
<cloth_name>sample string 21</cloth_name>
<created_date>2025-12-18T16:07:39.6395863+05:00</created_date>
<full_name>sample string 19</full_name>
<service_name>sample string 22</service_name>
<ServiceDate>2025-12-18T16:07:39.6395863+05:00</ServiceDate>
<balance_value>8</balance_value>
<cloth>sample string 11</cloth>
<cloth_id>4</cloth_id>
<id>1</id>
<image_path>sample string 17</image_path>
<is_done>true</is_done>
<is_partial>true</is_partial>
<order_id>2</order_id>
<price>7</price>
<received_value>13</received_value>
<return_value>12</return_value>
<service>sample string 10</service>
<service_id>3</service_id>
<total>9</total>
<unit>sample string 16</unit>
<unit_id>5</unit_id>
<unit_value>6</unit_value>
</OrderDetailModel>
</OrderDetail>
<OrderServiceCost>
<OrderServiceCostModel>
<bag_no>sample string 6</bag_no>
<id>1</id>
<kg_price>4</kg_price>
<kg_total>5</kg_total>
<kg_value>3</kg_value>
<order_id>7</order_id>
<service>sample string 8</service>
<service_id>2</service_id>
</OrderServiceCostModel>
<OrderServiceCostModel>
<bag_no>sample string 6</bag_no>
<id>1</id>
<kg_price>4</kg_price>
<kg_total>5</kg_total>
<kg_value>3</kg_value>
<order_id>7</order_id>
<service>sample string 8</service>
<service_id>2</service_id>
</OrderServiceCostModel>
</OrderServiceCost>
<TotalRows>23</TotalRows>
<assign_date>2025-12-18T16:07:39.6395863+05:00</assign_date>
<assign_to>8</assign_to>
<bad_cover>14</bad_cover>
<bag_no>sample string 19</bag_no>
<blanket>15</blanket>
<bookNo>sample string 29</bookNo>
<created_date>2025-12-18T16:07:39.6395863+05:00</created_date>
<customer_id>12</customer_id>
<delivery_address>sample string 6</delivery_address>
<delivery_date>2025-12-18T16:07:39.6395863+05:00</delivery_date>
<delivery_day>sample string 5</delivery_day>
<id>1</id>
<jacket>13</jacket>
<order_status>sample string 24</order_status>
<others>16</others>
<payment_date>2025-12-18T16:07:39.6385847+05:00</payment_date>
<payment_mode>sample string 21</payment_mode>
<payment_status>sample string 20</payment_status>
<pickup_address>sample string 7</pickup_address>
<pickup_date>2025-12-18T16:07:39.6385847+05:00</pickup_date>
<pickup_day>sample string 4</pickup_day>
<qty>18</qty>
<total>17</total>
<user_type_id>2</user_type_id>
<waking_customer>true</waking_customer>
</assignOrdersModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.