POST Terminal

Creates a terminal using rest

Request Information

URI Parameters

None.

Body Parameters

AddTerminalRequest
NameDescriptionTypeAdditional information
TerminalTypeId

integer

Range: inclusive between 1 and 2147483647

ExternalId

string

Required

Max length: 255

Name

string

Max length: 255

Request Formats

application/json, text/json

Sample:
{
  "TerminalTypeId": 1,
  "ExternalId": "sample string 2",
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<AddTerminalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Requests">
  <ExternalId>sample string 2</ExternalId>
  <Name>sample string 3</Name>
  <TerminalTypeId>1</TerminalTypeId>
</AddTerminalRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddTerminalResponse
NameDescriptionTypeAdditional information
TerminalId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TerminalId": 1
}

application/xml, text/xml

Sample:
<AddTerminalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Responses">
  <TerminalId>1</TerminalId>
</AddTerminalResponse>