POST api/terminal/CreateLocation

Request Information

URI Parameters

None.

Body Parameters

TerminalLocation
NameDescriptionTypeAdditional information
DisplayName

string

None.

Address

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DisplayName": "sample string 1",
  "Address": "sample string 2",
  "City": "sample string 3",
  "State": "sample string 4",
  "ZipCode": "sample string 5"
}

application/xml, text/xml

Sample:
<TerminalLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Business.Stripe.Model">
  <Address>sample string 2</Address>
  <City>sample string 3</City>
  <DisplayName>sample string 1</DisplayName>
  <State>sample string 4</State>
  <ZipCode>sample string 5</ZipCode>
</TerminalLocation>

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 'TerminalLocation'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.