POST api/pos/manage/token

Creates a long lived merchant AccessToken using a POST REQUEST

Request Information

URI Parameters

None.

Body Parameters

Cinema information bioCode

PosCinemaViewModel
NameDescriptionTypeAdditional information
bioCode

string

None.

Request Formats

application/xml, text/xml

Sample:
<PosCinemaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_1SA_MobilePay_POS_ViewModels.ViewModels">
  <bioCode>sample string 1</bioCode>
</PosCinemaViewModel>

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PosManageViewModel
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

errors

Collection of string

None.

Response Formats

application/xml, text/xml

Sample:
<PosManageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_1SA_MobilePay_POS_ViewModels.ViewModels">
  <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </errors>
  <success>true</success>
  <message>sample string 1</message>
</PosManageViewModel>

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}