POST api/CarInfo/ServiceProvider

Get my services

Request Information

Body Parameters

Get my services parameter

ServiceProvicderModel
NameDescriptionTypeAdditional information
LoginType

Login type

integer

None.

Id

login id

integer

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

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 value is:
0. Indicates success
1000. Indicates that the user does not exist
1001. Indicates that the supervisor does not exist

ServiceProviderResult
NameDescriptionTypeAdditional information
Username

string

None.

FirstName

string

None.

CellPhone

string

None.

Address

string

None.

State

status code

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>