GET api/Warranties/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Warranty
NameDescriptionTypeAdditional information
id

integer

None.

id_warranty

string

None.

sku_warranty

integer

None.

price

decimal number

None.

type

string

None.

provider

string

None.

status

string

None.

delivery_date

date

None.

expire_date

date

None.

from_date

date

None.

to_date

date

None.

product_id

integer

None.

order_id

integer

None.

date_insert

date

None.

date_lastupdate

date

None.

comments

string

None.

landing_page

string

None.

portal_url

string

None.

token

string

None.

cancellation_date

date

None.

client_note

string

None.

Order

WarrantyOrder

None.

Product

WarrantyProduct

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "id_warranty": "sample string 2",
  "sku_warranty": 1,
  "price": 1.0,
  "type": "sample string 3",
  "provider": "sample string 4",
  "status": "sample string 5",
  "delivery_date": "2024-12-29T16:46:05.9146014+01:00",
  "expire_date": "2024-12-29T16:46:05.9146014+01:00",
  "from_date": "2024-12-29T16:46:05.9146014+01:00",
  "to_date": "2024-12-29T16:46:05.9146014+01:00",
  "product_id": 1,
  "order_id": 1,
  "date_insert": "2024-12-29T16:46:05.9146014+01:00",
  "date_lastupdate": "2024-12-29T16:46:05.9146014+01:00",
  "comments": "sample string 8",
  "landing_page": "sample string 9",
  "portal_url": "sample string 10",
  "token": "sample string 11",
  "cancellation_date": "2024-12-29T16:46:05.9146014+01:00",
  "client_note": "sample string 12",
  "order": {
    "id": 1,
    "order_number": 1,
    "purchasing_date": "2024-12-29T16:46:05.9146014+01:00",
    "shipping_method_id": "e7d91e56-54fb-4574-98fa-d059b7c58310",
    "customer_type": "sample string 2",
    "customer_id": "68f6c76b-dd5a-46d8-b83a-6db7dbdb5b41",
    "customer_name": "sample string 4",
    "customer_fiscal_code": "sample string 5",
    "customer_vat_number": "sample string 6",
    "customer_city": "sample string 7",
    "customer_postal_code": "sample string 8",
    "customer_address": "sample string 9",
    "customer_province": "sample string 10",
    "customer_mail": "sample string 11",
    "customer_phone_number": "sample string 12",
    "customer_mobile_phone_number": "sample string 13"
  },
  "product": {
    "id": 1,
    "sku": 1,
    "manufacturer": "sample string 2",
    "mpn": "sample string 3",
    "cat1": "sample string 4",
    "cat2": "sample string 5",
    "description": "sample string 6",
    "ean": "sample string 7",
    "price": 1.0,
    "serial_number": "sample string 8",
    "ddEstimate": "2024-12-29T16:46:05.9146014+01:00"
  }
}

text/plain

Sample:
{"id":1,"id_warranty":"sample string 2","sku_warranty":1,"price":1.0,"type":"sample string 3","provider":"sample string 4","status":"sample string 5","delivery_date":"2024-12-29T16:46:05.9146014+01:00","expire_date":"2024-12-29T16:46:05.9146014+01:00","from_date":"2024-12-29T16:46:05.9146014+01:00","to_date":"2024-12-29T16:46:05.9146014+01:00","product_id":1,"order_id":1,"date_insert":"2024-12-29T16:46:05.9146014+01:00","date_lastupdate":"2024-12-29T16:46:05.9146014+01:00","comments":"sample string 8","landing_page":"sample string 9","portal_url":"sample string 10","token":"sample string 11","cancellation_date":"2024-12-29T16:46:05.9146014+01:00","client_note":"sample string 12","order":{"id":1,"order_number":1,"purchasing_date":"2024-12-29T16:46:05.9146014+01:00","shipping_method_id":"e7d91e56-54fb-4574-98fa-d059b7c58310","customer_type":"sample string 2","customer_id":"68f6c76b-dd5a-46d8-b83a-6db7dbdb5b41","customer_name":"sample string 4","customer_fiscal_code":"sample string 5","customer_vat_number":"sample string 6","customer_city":"sample string 7","customer_postal_code":"sample string 8","customer_address":"sample string 9","customer_province":"sample string 10","customer_mail":"sample string 11","customer_phone_number":"sample string 12","customer_mobile_phone_number":"sample string 13"},"product":{"id":1,"sku":1,"manufacturer":"sample string 2","mpn":"sample string 3","cat1":"sample string 4","cat2":"sample string 5","description":"sample string 6","ean":"sample string 7","price":1.0,"serial_number":"sample string 8","ddEstimate":"2024-12-29T16:46:05.9146014+01:00"}}

application/xml, text/xml

Sample:
<Warranty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Warranties.BL.Models">
  <Order>
    <customer_address>sample string 9</customer_address>
    <customer_city>sample string 7</customer_city>
    <customer_fiscal_code>sample string 5</customer_fiscal_code>
    <customer_id>68f6c76b-dd5a-46d8-b83a-6db7dbdb5b41</customer_id>
    <customer_mail>sample string 11</customer_mail>
    <customer_mobile_phone_number>sample string 13</customer_mobile_phone_number>
    <customer_name>sample string 4</customer_name>
    <customer_phone_number>sample string 12</customer_phone_number>
    <customer_postal_code>sample string 8</customer_postal_code>
    <customer_province>sample string 10</customer_province>
    <customer_type>sample string 2</customer_type>
    <customer_vat_number>sample string 6</customer_vat_number>
    <id>1</id>
    <order_number>1</order_number>
    <purchasing_date>2024-12-29T16:46:05.9146014+01:00</purchasing_date>
    <shipping_method_id>e7d91e56-54fb-4574-98fa-d059b7c58310</shipping_method_id>
  </Order>
  <Product>
    <DDEstimate>2024-12-29T16:46:05.9146014+01:00</DDEstimate>
    <cat1>sample string 4</cat1>
    <cat2>sample string 5</cat2>
    <description>sample string 6</description>
    <ean>sample string 7</ean>
    <id>1</id>
    <manufacturer>sample string 2</manufacturer>
    <mpn>sample string 3</mpn>
    <price>1</price>
    <serial_number>sample string 8</serial_number>
    <sku>1</sku>
  </Product>
  <cancellation_date>2024-12-29T16:46:05.9146014+01:00</cancellation_date>
  <client_note>sample string 12</client_note>
  <comments>sample string 8</comments>
  <date_insert>2024-12-29T16:46:05.9146014+01:00</date_insert>
  <date_lastupdate>2024-12-29T16:46:05.9146014+01:00</date_lastupdate>
  <delivery_date>2024-12-29T16:46:05.9146014+01:00</delivery_date>
  <expire_date>2024-12-29T16:46:05.9146014+01:00</expire_date>
  <from_date>2024-12-29T16:46:05.9146014+01:00</from_date>
  <id>1</id>
  <id_warranty>sample string 2</id_warranty>
  <landing_page>sample string 9</landing_page>
  <order_id>1</order_id>
  <portal_url>sample string 10</portal_url>
  <price>1</price>
  <product_id>1</product_id>
  <provider>sample string 4</provider>
  <sku_warranty>1</sku_warranty>
  <status>sample string 5</status>
  <to_date>2024-12-29T16:46:05.9146014+01:00</to_date>
  <token>sample string 11</token>
  <type>sample string 3</type>
</Warranty>

application/octet-stream

Sample:
{"id":1,"id_warranty":"sample string 2","sku_warranty":1,"price":1.0,"type":"sample string 3","provider":"sample string 4","status":"sample string 5","delivery_date":"2024-12-29T16:46:05.9146014+01:00","expire_date":"2024-12-29T16:46:05.9146014+01:00","from_date":"2024-12-29T16:46:05.9146014+01:00","to_date":"2024-12-29T16:46:05.9146014+01:00","product_id":1,"order_id":1,"date_insert":"2024-12-29T16:46:05.9146014+01:00","date_lastupdate":"2024-12-29T16:46:05.9146014+01:00","comments":"sample string 8","landing_page":"sample string 9","portal_url":"sample string 10","token":"sample string 11","cancellation_date":"2024-12-29T16:46:05.9146014+01:00","client_note":"sample string 12","Order":{"id":1,"order_number":1,"purchasing_date":"2024-12-29T16:46:05.9146014+01:00","shipping_method_id":"e7d91e56-54fb-4574-98fa-d059b7c58310","customer_type":"sample string 2","customer_id":"68f6c76b-dd5a-46d8-b83a-6db7dbdb5b41","customer_name":"sample string 4","customer_fiscal_code":"sample string 5","customer_vat_number":"sample string 6","customer_city":"sample string 7","customer_postal_code":"sample string 8","customer_address":"sample string 9","customer_province":"sample string 10","customer_mail":"sample string 11","customer_phone_number":"sample string 12","customer_mobile_phone_number":"sample string 13"},"Product":{"id":1,"sku":1,"manufacturer":"sample string 2","mpn":"sample string 3","cat1":"sample string 4","cat2":"sample string 5","description":"sample string 6","ean":"sample string 7","price":1.0,"serial_number":"sample string 8","DDEstimate":"2024-12-29T16:46:05.9146014+01:00"}}

text/javascript, application/javascript, application/json-p

Sample:
({"id":1,"id_warranty":"sample string 2","sku_warranty":1,"price":1.0,"type":"sample string 3","provider":"sample string 4","status":"sample string 5","delivery_date":"2024-12-29T16:46:05.9146014+01:00","expire_date":"2024-12-29T16:46:05.9146014+01:00","from_date":"2024-12-29T16:46:05.9146014+01:00","to_date":"2024-12-29T16:46:05.9146014+01:00","product_id":1,"order_id":1,"date_insert":"2024-12-29T16:46:05.9146014+01:00","date_lastupdate":"2024-12-29T16:46:05.9146014+01:00","comments":"sample string 8","landing_page":"sample string 9","portal_url":"sample string 10","token":"sample string 11","cancellation_date":"2024-12-29T16:46:05.9146014+01:00","client_note":"sample string 12","order":{"id":1,"order_number":1,"purchasing_date":"2024-12-29T16:46:05.9146014+01:00","shipping_method_id":"e7d91e56-54fb-4574-98fa-d059b7c58310","customer_type":"sample string 2","customer_id":"68f6c76b-dd5a-46d8-b83a-6db7dbdb5b41","customer_name":"sample string 4","customer_fiscal_code":"sample string 5","customer_vat_number":"sample string 6","customer_city":"sample string 7","customer_postal_code":"sample string 8","customer_address":"sample string 9","customer_province":"sample string 10","customer_mail":"sample string 11","customer_phone_number":"sample string 12","customer_mobile_phone_number":"sample string 13"},"product":{"id":1,"sku":1,"manufacturer":"sample string 2","mpn":"sample string 3","cat1":"sample string 4","cat2":"sample string 5","description":"sample string 6","ean":"sample string 7","price":1.0,"serial_number":"sample string 8","ddEstimate":"2024-12-29T16:46:05.9146014+01:00"}});