POST api/MobileApp/RegisterUser

Request Information

URI Parameters

None.

Body Parameters

RequestUserInfo
NameDescriptionTypeAdditional information
MobileNo

integer

None.

IMEINo

integer

None.

MacAddress

string

None.

TokenID

string

None.

MobNameNModelNo

string

None.

FirmName

string

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MobileNo": 1,
  "IMEINo": 2,
  "MacAddress": "sample string 3",
  "TokenID": "sample string 4",
  "MobNameNModelNo": "sample string 5",
  "FirmName": "sample string 6",
  "Name": "sample string 7"
}

application/xml, text/xml

Sample:
<RequestUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <FirmName>sample string 6</FirmName>
  <IMEINo>2</IMEINo>
  <MacAddress>sample string 3</MacAddress>
  <MobNameNModelNo>sample string 5</MobNameNModelNo>
  <MobileNo>1</MobileNo>
  <Name>sample string 7</Name>
  <TokenID>sample string 4</TokenID>
</RequestUserInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseUserInfo
NameDescriptionTypeAdditional information
RecID

integer

None.

UniqueID

string

None.

FirmName

string

None.

Name

string

None.

IsPairing

boolean

None.

IsSelfMode

boolean

None.

IsPinAuth

boolean

None.

Status

boolean

None.

msg

string

None.

ExcepMsg

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "RecID": 1,
  "UniqueID": "sample string 2",
  "FirmName": "sample string 3",
  "Name": "sample string 4",
  "IsPairing": true,
  "IsSelfMode": true,
  "IsPinAuth": true,
  "Status": true,
  "msg": "sample string 9",
  "ExcepMsg": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<ResponseUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <ExcepMsg xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </ExcepMsg>
  <Status>true</Status>
  <msg>sample string 9</msg>
  <FirmName>sample string 3</FirmName>
  <IsPairing>true</IsPairing>
  <IsPinAuth>true</IsPinAuth>
  <IsSelfMode>true</IsSelfMode>
  <Name>sample string 4</Name>
  <RecID>1</RecID>
  <UniqueID>sample string 2</UniqueID>
</ResponseUserInfo>