POST api/Extradition

Request Information

URI Parameters

None.

Body Parameters

ExtraditionModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ProductId

globally unique identifier

None.

Quantity

integer

None.

ProductName

string

None.

Note

string

None.

ExtraditedDate

date

None.

ReturnDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "8e1ed6db-5de0-4ed7-a17b-87cd2a52fbbe",
  "ProductId": "b6bee158-9cb9-459e-b44e-7bf2810a863a",
  "Quantity": 3,
  "ProductName": "sample string 4",
  "Note": "sample string 5",
  "ExtraditedDate": "2026-01-01T14:20:41.2442261+02:00",
  "ReturnDate": "2026-01-01T14:20:41.2442261+02:00"
}

application/xml, text/xml

Sample:
<ExtraditionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRetail.Helpers">
  <ExtraditedDate>2026-01-01T14:20:41.2442261+02:00</ExtraditedDate>
  <Id>8e1ed6db-5de0-4ed7-a17b-87cd2a52fbbe</Id>
  <Note>sample string 5</Note>
  <ProductId>b6bee158-9cb9-459e-b44e-7bf2810a863a</ProductId>
  <ProductName>sample string 4</ProductName>
  <Quantity>3</Quantity>
  <ReturnDate>2026-01-01T14:20:41.2442261+02:00</ReturnDate>
</ExtraditionModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ExtraditionModel'.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
IsSucces

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSucces": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRetail.Helpers">
  <IsSucces>true</IsSucces>
  <Message>sample string 2</Message>
</ResponseModel>