POST api/Warranties/Orders
Request Information
URI Parameters
None.
Body Parameters
WarrantyOrderDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| order_number | integer |
None. |
|
| purchasing_date | date |
None. |
|
| shipping_method_id | globally unique identifier |
None. |
|
| customer_type | string |
None. |
|
| customer_id | globally unique identifier |
None. |
|
| customer_name | string |
None. |
|
| customer_fiscal_code | string |
None. |
|
| customer_vat_number | string |
None. |
|
| customer_city | string |
None. |
|
| customer_postal_code | string |
None. |
|
| customer_address | string |
None. |
|
| customer_province | string |
None. |
|
| customer_mail | string |
None. |
|
| customer_phone_number | string |
None. |
|
| customer_mobile_phone_number | string |
None. |
|
| warranty | WarrantyNewDTO |
None. |
|
| id_skillo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"order_number": 1,
"purchasing_date": "2025-12-08T16:50:27.9319506+01:00",
"shipping_method_id": "4307e036-07e9-4064-b60a-a83a0b51ecaa",
"customer_type": "sample string 1",
"customer_id": "235a81cc-10a0-4666-b0bf-2e984ca0016c",
"customer_name": "sample string 3",
"customer_fiscal_code": "sample string 4",
"customer_vat_number": "sample string 5",
"customer_city": "sample string 6",
"customer_postal_code": "sample string 7",
"customer_address": "sample string 8",
"customer_province": "sample string 9",
"customer_mail": "sample string 10",
"customer_phone_number": "sample string 11",
"customer_mobile_phone_number": "sample string 12",
"warranty": {
"sku": 1,
"price": 2.0,
"delivery_date": "2025-12-08T16:50:27.9319506+01:00",
"quantity": 4
},
"id_skillo": "sample string 13"
}
text/plain, application/octet-stream
Sample:
{"order_number":1,"purchasing_date":"2025-12-08T16:50:27.9319506+01:00","shipping_method_id":"4307e036-07e9-4064-b60a-a83a0b51ecaa","customer_type":"sample string 1","customer_id":"235a81cc-10a0-4666-b0bf-2e984ca0016c","customer_name":"sample string 3","customer_fiscal_code":"sample string 4","customer_vat_number":"sample string 5","customer_city":"sample string 6","customer_postal_code":"sample string 7","customer_address":"sample string 8","customer_province":"sample string 9","customer_mail":"sample string 10","customer_phone_number":"sample string 11","customer_mobile_phone_number":"sample string 12","warranty":{"sku":1,"price":2.0,"delivery_date":"2025-12-08T16:50:27.9319506+01:00","quantity":4},"id_skillo":"sample string 13"}
application/xml, text/xml
Sample:
<WarrantyOrderDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Warranties.BL.Models.DTO">
<customer_address>sample string 8</customer_address>
<customer_city>sample string 6</customer_city>
<customer_fiscal_code>sample string 4</customer_fiscal_code>
<customer_id>235a81cc-10a0-4666-b0bf-2e984ca0016c</customer_id>
<customer_mail>sample string 10</customer_mail>
<customer_mobile_phone_number>sample string 12</customer_mobile_phone_number>
<customer_name>sample string 3</customer_name>
<customer_phone_number>sample string 11</customer_phone_number>
<customer_postal_code>sample string 7</customer_postal_code>
<customer_province>sample string 9</customer_province>
<customer_type>sample string 1</customer_type>
<customer_vat_number>sample string 5</customer_vat_number>
<id_skillo>sample string 13</id_skillo>
<order_number>1</order_number>
<purchasing_date>2025-12-08T16:50:27.9319506+01:00</purchasing_date>
<shipping_method_id>4307e036-07e9-4064-b60a-a83a0b51ecaa</shipping_method_id>
<warranty>
<delivery_date>2025-12-08T16:50:27.9319506+01:00</delivery_date>
<price>2</price>
<quantity>4</quantity>
<sku>1</sku>
</warranty>
</WarrantyOrderDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.