POST api/ExcellentSchool/SendSmsValidateCode

Messages distributed authentication code to watch [special interface]

Request Information

Body Parameters

SendSmsValidateCodeModel
NameDescriptionTypeAdditional information
DeviceId

device id

integer

None.

SimCard

SIM card number

string

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:
{
  "DeviceId": 1,
  "SimCard": "sample string 2",
  "Token": "sample string 3",
  "Language": "sample string 4",
  "AppId": "sample string 5"
}

application/xml, text/xml

Sample:
<SendSmsValidateCodeModel 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>
  <DeviceId>1</DeviceId>
  <SimCard>sample string 2</SimCard>
</SendSmsValidateCodeModel>

Response Information

Resource Description

Statestatus code:
0. Indicates success
1000. device does not exist
4004. The device is not yet initialized
4005. SIM is illegal

SendSmsValidateCodeResult
NameDescriptionTypeAdditional information
Message

Result illustrate

string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "State": 2
}

application/xml, text/xml

Sample:
<SendSmsValidateCodeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <Message>sample string 1</Message>
</SendSmsValidateCodeResult>