POST api/v1/SaveLogin

Request Information

URI Parameters

None.

Body Parameters

SavePosUserLoginInput
NameDescriptionTypeAdditional information
UserID

integer

None.

LocID

integer

None.

CompID

integer

None.

UpdateType

string

None.

DeviceID

integer

None.

MachineName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "LocID": 2,
  "CompID": 3,
  "UpdateType": "sample string 4",
  "DeviceID": 5,
  "MachineName": "sample string 6"
}

application/xml, text/xml

Sample:
<SavePosUserLoginInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>3</CompID>
  <DeviceID>5</DeviceID>
  <LocID>2</LocID>
  <MachineName>sample string 6</MachineName>
  <UpdateType>sample string 4</UpdateType>
  <UserID>1</UserID>
</SavePosUserLoginInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SavePosUserLoginInput'.

Response Information

Resource Description

SavePosUserLoginModel
NameDescriptionTypeAdditional information
result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "sample string 1"
}

application/xml, text/xml

Sample:
<SavePosUserLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <result>sample string 1</result>
</SavePosUserLoginModel>