POST api/TestDriverForm
Đăng kí lái thử
Request Information
Requires Authorization!
Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TestDriverRequestModel |
TestDriverRequestModel |
TestDriverRequestModel |
None. |
Body Parameters
TestDriverRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName | string |
None. |
|
| Mobile | string |
Required Matching regular expression pattern: ((03|05|07|08|09)+([0-9]{8}))|(02[0-9]{9})$ |
|
| Type | byte |
None. |
|
| MakeId | integer |
None. |
|
| ModelId | integer |
None. |
|
| type | integer |
None. |
|
| salonSalemanID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FullName": "sample string 1",
"Mobile": "sample string 2",
"Type": 64,
"MakeId": 4,
"ModelId": 5,
"type": 6,
"salonSalemanID": 7
}
application/xml, text/xml
Sample:
<TestDriverRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <salonSalemanID>7</salonSalemanID> <type>6</type> <FullName>sample string 1</FullName> <MakeId>4</MakeId> <Mobile>sample string 2</Mobile> <ModelId>5</ModelId> <Type>64</Type> </TestDriverRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataReturnObj| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<DataReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Auto.AppApi.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Status>1</Status> </DataReturnObj>