POST api/CarInfo/ServiceProvider
获取我的服务商
Request Information
Body Parameters
获取我的服务商参数
ServiceProvicderModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginType |
登录类型 |
integer |
None. |
| Id |
登录 id |
integer |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LoginType": 1,
"Id": 2,
"Token": "sample string 3",
"Language": "sample string 4",
"AppId": "sample string 5"
}
application/xml, text/xml
Sample:
<ServiceProvicderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 5</AppId> <Language>sample string 4</Language> <Token>sample string 3</Token> <Id>2</Id> <LoginType>1</LoginType> </ServiceProvicderModel>
Response Information
Resource Description
State 值为:
0. 表示成功
1000. 表示用户不存在
1001. 表示上级用户不存在
| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| FirstName | string |
None. |
|
| CellPhone | string |
None. |
|
| Address | string |
None. |
|
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"FirstName": "sample string 2",
"CellPhone": "sample string 3",
"Address": "sample string 4",
"State": 5
}
application/xml, text/xml
Sample:
<ServiceProviderResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel"> <State>5</State> <Address>sample string 4</Address> <CellPhone>sample string 3</CellPhone> <FirstName>sample string 2</FirstName> <Username>sample string 1</Username> </ServiceProviderResult>