POST api/Warranties/Orders
Request Information
URI Parameters
None.
Body Parameters
WarrantyOrderDTOName | 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": "2024-12-29T16:31:36.2627103+01:00", "shipping_method_id": "993d94e8-50a0-4a6d-bd50-8721e7663101", "customer_type": "sample string 1", "customer_id": "e02a65d9-ccaf-46d4-95c3-472f69705624", "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": "2024-12-29T16:31:36.2627103+01:00", "quantity": 4 }, "id_skillo": "sample string 13" }
text/plain, application/octet-stream
Sample:
{"order_number":1,"purchasing_date":"2024-12-29T16:31:36.2627103+01:00","shipping_method_id":"993d94e8-50a0-4a6d-bd50-8721e7663101","customer_type":"sample string 1","customer_id":"e02a65d9-ccaf-46d4-95c3-472f69705624","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":"2024-12-29T16:31:36.2627103+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>e02a65d9-ccaf-46d4-95c3-472f69705624</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>2024-12-29T16:31:36.2627103+01:00</purchasing_date> <shipping_method_id>993d94e8-50a0-4a6d-bd50-8721e7663101</shipping_method_id> <warranty> <delivery_date>2024-12-29T16:31:36.2627103+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.