POST api/forb2c/sell-booking
Request Information
URI Parameters
None.
Body Parameters
SellBooking| Name | Description | Type | Additional information |
|---|---|---|---|
| ModelId | integer |
Required |
|
| ROMId | integer |
Required |
|
| RAMId | integer |
Required |
|
| ColorId | integer |
None. |
|
| CustomerId | string |
Required |
|
| OrderId | string |
None. |
|
| ShippingId | string |
Required |
|
| ShippingName | string |
Required |
|
| ShippingMobileNo | string |
Required |
|
| ShippingEmailId | string |
Required |
|
| ShippingAddress | string |
Required |
|
| ShippingLandmark | string |
None. |
|
| ShippingCity | integer |
Required |
|
| ShippingState | integer |
Required |
|
| ShippingPincode | string |
Required |
|
| WorkType | string |
Required |
|
| PickupslotDate | string |
Required |
|
| PickupslotTime | string |
Required |
|
| AccountId | integer |
Required |
|
| AccountType | string |
Required |
|
| Remark | string |
None. |
|
| PickupCharge | decimal number |
Required |
|
| ProcessingFee | decimal number |
Required |
|
| TotalAmount | decimal number |
Required |
|
| TotalPrice | decimal number |
Required |
|
| TotalDiscount | decimal number |
Required |
|
| TotalMRP | decimal number |
Required |
|
| sellquestionlists | Collection of sellquestionlist |
None. |
Request Formats
application/json, text/json
Sample:
{
"ModelId": 1,
"ROMId": 2,
"RAMId": 3,
"ColorId": 4,
"CustomerId": "sample string 5",
"OrderId": "sample string 6",
"ShippingId": "sample string 7",
"ShippingName": "sample string 8",
"ShippingMobileNo": "sample string 9",
"ShippingEmailId": "sample string 10",
"ShippingAddress": "sample string 11",
"ShippingLandmark": "sample string 12",
"ShippingCity": 13,
"ShippingState": 14,
"ShippingPincode": "sample string 15",
"WorkType": "sample string 16",
"PickupslotDate": "sample string 17",
"PickupslotTime": "sample string 18",
"AccountId": 19,
"AccountType": "sample string 20",
"Remark": "sample string 21",
"PickupCharge": 1.0,
"ProcessingFee": 1.0,
"TotalAmount": 1.0,
"TotalPrice": 1.0,
"TotalDiscount": 1.0,
"TotalMRP": 1.0,
"sellquestionlists": [
{
"QuestionRefno": "sample string 1",
"Question": "sample string 2",
"QuestionId": 3,
"AnswerId": 4,
"Answer": "sample string 5",
"weightage": 6.0
},
{
"QuestionRefno": "sample string 1",
"Question": "sample string 2",
"QuestionId": 3,
"AnswerId": 4,
"Answer": "sample string 5",
"weightage": 6.0
}
]
}
application/xml, text/xml
Sample:
<SellBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model">
<AccountId>19</AccountId>
<AccountType>sample string 20</AccountType>
<ColorId>4</ColorId>
<CustomerId>sample string 5</CustomerId>
<ModelId>1</ModelId>
<OrderId>sample string 6</OrderId>
<PickupCharge>1</PickupCharge>
<PickupslotDate>sample string 17</PickupslotDate>
<PickupslotTime>sample string 18</PickupslotTime>
<ProcessingFee>1</ProcessingFee>
<RAMId>3</RAMId>
<ROMId>2</ROMId>
<Remark>sample string 21</Remark>
<ShippingAddress>sample string 11</ShippingAddress>
<ShippingCity>13</ShippingCity>
<ShippingEmailId>sample string 10</ShippingEmailId>
<ShippingId>sample string 7</ShippingId>
<ShippingLandmark>sample string 12</ShippingLandmark>
<ShippingMobileNo>sample string 9</ShippingMobileNo>
<ShippingName>sample string 8</ShippingName>
<ShippingPincode>sample string 15</ShippingPincode>
<ShippingState>14</ShippingState>
<TotalAmount>1</TotalAmount>
<TotalDiscount>1</TotalDiscount>
<TotalMRP>1</TotalMRP>
<TotalPrice>1</TotalPrice>
<WorkType>sample string 16</WorkType>
<sellquestionlists>
<sellquestionlist>
<Answer>sample string 5</Answer>
<AnswerId>4</AnswerId>
<Question>sample string 2</Question>
<QuestionId>3</QuestionId>
<QuestionRefno>sample string 1</QuestionRefno>
<weightage>6</weightage>
</sellquestionlist>
<sellquestionlist>
<Answer>sample string 5</Answer>
<AnswerId>4</AnswerId>
<Question>sample string 2</Question>
<QuestionId>3</QuestionId>
<QuestionRefno>sample string 1</QuestionRefno>
<weightage>6</weightage>
</sellquestionlist>
</sellquestionlists>
</SellBooking>
application/x-www-form-urlencoded
Sample:
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. |