POST api/Warrenty/issue_warrenty

Request Information

URI Parameters

None.

Body Parameters

WarrentyIssueModel
NameDescriptionTypeAdditional information
RegisterCode

integer

None.

Remark

string

None.

TypeCode

integer

None.

DOT

string

None.

NextVisitDate

string

None.

NextVisitTime

string

None.

PostedBy

integer

None.

Status

integer

None.

UpdateDate

string

None.

CustomerName

string

None.

PhoneNo

string

None.

BillNo

string

None.

BillImage

string

None.

CompanyCode

string

None.

PurchaseDate

string

None.

WarrentyCode

integer

None.

WarrentyType

string

None.

BrandName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RegisterCode": 1,
  "Remark": "sample string 2",
  "TypeCode": 3,
  "DOT": "sample string 4",
  "NextVisitDate": "sample string 5",
  "NextVisitTime": "sample string 6",
  "PostedBy": 7,
  "Status": 8,
  "UpdateDate": "sample string 9",
  "CustomerName": "sample string 10",
  "PhoneNo": "sample string 11",
  "BillNo": "sample string 12",
  "BillImage": "sample string 13",
  "CompanyCode": "sample string 14",
  "PurchaseDate": "sample string 15",
  "WarrentyCode": 16,
  "WarrentyType": "sample string 17",
  "BrandName": "sample string 18"
}

application/xml, text/xml

Sample:
<WarrentyIssueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/G_LeatherAPI.Models">
  <BillImage>sample string 13</BillImage>
  <BillNo>sample string 12</BillNo>
  <BrandName>sample string 18</BrandName>
  <CompanyCode>sample string 14</CompanyCode>
  <CustomerName>sample string 10</CustomerName>
  <DOT>sample string 4</DOT>
  <NextVisitDate>sample string 5</NextVisitDate>
  <NextVisitTime>sample string 6</NextVisitTime>
  <PhoneNo>sample string 11</PhoneNo>
  <PostedBy>7</PostedBy>
  <PurchaseDate>sample string 15</PurchaseDate>
  <RegisterCode>1</RegisterCode>
  <Remark>sample string 2</Remark>
  <Status>8</Status>
  <TypeCode>3</TypeCode>
  <UpdateDate>sample string 9</UpdateDate>
  <WarrentyCode>16</WarrentyCode>
  <WarrentyType>sample string 17</WarrentyType>
</WarrentyIssueModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/G_LeatherAPI.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfstring>