POST api/PackInsurance
Request Information
URI Parameters
None.
Body Parameters
CustomerDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| USERID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| CUSTNAME | string |
Required Matching regular expression pattern: ^[a-zA-Z ]+$ String length: inclusive between 3 and 50 |
|
| CUSTMOBILENO | string |
Required Matching regular expression pattern: ^([0-9]{10})$ |
|
| CUSTMOBILENO2 | string |
Matching regular expression pattern: ^([0-9]{10})$ |
|
| EMAILID | string |
Required Max length: 50 |
|
| HANDSETPRICE | decimal number |
Required Matching regular expression pattern: ^\d+$ Range: inclusive between 1000 and 110000 |
|
| INVOICEDATE | date |
Required Data type: Date |
|
| INVOICENO | string |
Max length: 20 |
|
| PURFROM | string |
Required Max length: 50 |
|
| BRANDID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| MODELID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| MODELNAME | string |
Max length: 50 |
|
| IMEINO | string |
Required Matching regular expression pattern: ^([0-9]{15,20})$ |
|
| IMEINO2 | string |
Matching regular expression pattern: ^([0-9]{15,20})$ |
|
| CARRIER | string |
Required Max length: 20 |
|
| DISCAMT | decimal number |
None. |
|
| COUPONCODE | string |
String length: inclusive between 10 and 10 |
|
| ADDRESS1 | string |
Required String length: inclusive between 10 and 50 |
|
| ADDRESS2 | string |
Max length: 50 |
|
| LANDMARK | string |
Required String length: inclusive between 10 and 50 |
|
| STATEID | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| CITY | string |
Required |
|
| POSTALCODE | string |
Required String length: inclusive between 6 and 6 |
|
| RegImages | Collection of RegImages |
Required |
Request Formats
application/json, text/json
{
"USERID": 1,
"CUSTNAME": "sample string 2",
"CUSTMOBILENO": "sample string 3",
"CUSTMOBILENO2": "sample string 4",
"EMAILID": "sample string 5",
"HANDSETPRICE": 6.0,
"INVOICEDATE": "2026-01-22T13:31:56.4788137+00:00",
"INVOICENO": "sample string 8",
"PURFROM": "sample string 9",
"BRANDID": 10,
"MODELID": 11,
"MODELNAME": "sample string 12",
"IMEINO": "sample string 13",
"IMEINO2": "sample string 14",
"CARRIER": "sample string 15",
"DISCAMT": 16.0,
"COUPONCODE": "sample string 17",
"ADDRESS1": "sample string 18",
"ADDRESS2": "sample string 19",
"LANDMARK": "sample string 20",
"STATEID": 21,
"CITY": "sample string 22",
"POSTALCODE": "sample string 23",
"RegImages": [
{
"IMG": "sample string 1",
"IMGTYPE": "sample string 2"
},
{
"IMG": "sample string 1",
"IMGTYPE": "sample string 2"
}
]
}
application/xml, text/xml
<CustomerDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuikE_WebAPI.Models">
<ADDRESS1>sample string 18</ADDRESS1>
<ADDRESS2>sample string 19</ADDRESS2>
<BRANDID>10</BRANDID>
<CARRIER>sample string 15</CARRIER>
<CITY>sample string 22</CITY>
<COUPONCODE>sample string 17</COUPONCODE>
<CUSTMOBILENO>sample string 3</CUSTMOBILENO>
<CUSTMOBILENO2>sample string 4</CUSTMOBILENO2>
<CUSTNAME>sample string 2</CUSTNAME>
<DISCAMT>16</DISCAMT>
<EMAILID>sample string 5</EMAILID>
<HANDSETPRICE>6</HANDSETPRICE>
<IMEINO>sample string 13</IMEINO>
<IMEINO2>sample string 14</IMEINO2>
<INVOICEDATE>2026-01-22T13:31:56.4788137+00:00</INVOICEDATE>
<INVOICENO>sample string 8</INVOICENO>
<LANDMARK>sample string 20</LANDMARK>
<MODELID>11</MODELID>
<MODELNAME>sample string 12</MODELNAME>
<POSTALCODE>sample string 23</POSTALCODE>
<PURFROM>sample string 9</PURFROM>
<RegImages>
<RegImages>
<IMG>sample string 1</IMG>
<IMGTYPE>sample string 2</IMGTYPE>
</RegImages>
<RegImages>
<IMG>sample string 1</IMG>
<IMGTYPE>sample string 2</IMGTYPE>
</RegImages>
</RegImages>
<STATEID>21</STATEID>
<USERID>1</USERID>
</CustomerDetail>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |