POST api/Logout/getlogin

Request Information

URI Parameters

None.

Body Parameters

GetLoginReceivedDataModels
NameDescriptionTypeAdditional information
handphone

string

None.

password

string

None.

vendor_id

string

None.

firebaseToken

string

None.

mobileToken

string

None.

checkPolicy

string

None.

isSuccess

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "handphone": "sample string 1",
  "password": "sample string 2",
  "vendor_id": "sample string 3",
  "firebaseToken": "sample string 4",
  "mobileToken": "sample string 5",
  "checkPolicy": "sample string 6",
  "isSuccess": true
}

application/xml, text/xml

Sample:
<GetLoginReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.LoginIntegrator.ReceivedDataModels">
  <checkPolicy>sample string 6</checkPolicy>
  <firebaseToken>sample string 4</firebaseToken>
  <handphone>sample string 1</handphone>
  <isSuccess>true</isSuccess>
  <mobileToken>sample string 5</mobileToken>
  <password>sample string 2</password>
  <vendor_id>sample string 3</vendor_id>
</GetLoginReceivedDataModels>

multipart/form-data

Sample:
<GetLoginReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.LoginIntegrator.ReceivedDataModels"><checkPolicy>sample string 6</checkPolicy><firebaseToken>sample string 4</firebaseToken><handphone>sample string 1</handphone><isSuccess>true</isSuccess><mobileToken>sample string 5</mobileToken><password>sample string 2</password><vendor_id>sample string 3</vendor_id></GetLoginReceivedDataModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseTreeModels
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "data": {}
}

application/xml, text/xml

Sample:
<BaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Utility">
  <data />
  <message>sample string 1</message>
  <success>true</success>
</BaseTreeModels>

multipart/form-data

Sample:
<BaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Utility"><data /><message>sample string 1</message><success>true</success></BaseTreeModels>