POST api/terminal/CreateLocation
Request Information
URI Parameters
None.
Body Parameters
TerminalLocationModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ClientId | integer |
None. |
|
DisplayName | string |
Required Max length: 50 |
|
Address | string |
Required Max length: 50 |
|
City | string |
Required Max length: 50 |
|
State | string |
Required Max length: 50 |
|
Country | string |
Required Max length: 2 |
|
ZipCode | string |
Required Max length: 20 |
|
LocationId | string |
None. |
|
ConfigurationId | string |
None. |
|
SplashScreen | string |
None. |
|
SplashUrl | string |
None. |
Request Formats
[application/json, { "Id": 1, "ClientId": 2, "DisplayName": "sample string 3", "Address": "sample string 4", "City": "sample string 5", "State": "sample string 6", "Country": "sample string 7", "ZipCode": "sample string 8", "LocationId": "sample string 9", "ConfigurationId": "sample string 10", "SplashScreen": "sample string 11", "SplashUrl": "sample string 12" }][text/json, { "Id": 1, "ClientId": 2, "DisplayName": "sample string 3", "Address": "sample string 4", "City": "sample string 5", "State": "sample string 6", "Country": "sample string 7", "ZipCode": "sample string 8", "LocationId": "sample string 9", "ConfigurationId": "sample string 10", "SplashScreen": "sample string 11", "SplashUrl": "sample string 12" }][application/xml, <TerminalLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Business.Stripe.Model"> <Address>sample string 4</Address> <City>sample string 5</City> <ClientId>2</ClientId> <ConfigurationId>sample string 10</ConfigurationId> <Country>sample string 7</Country> <DisplayName>sample string 3</DisplayName> <Id>1</Id> <LocationId>sample string 9</LocationId> <SplashScreen>sample string 11</SplashScreen> <SplashUrl>sample string 12</SplashUrl> <State>sample string 6</State> <ZipCode>sample string 8</ZipCode> </TerminalLocationModel>][text/xml, <TerminalLocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rebelity.Business.Stripe.Model"> <Address>sample string 4</Address> <City>sample string 5</City> <ClientId>2</ClientId> <ConfigurationId>sample string 10</ConfigurationId> <Country>sample string 7</Country> <DisplayName>sample string 3</DisplayName> <Id>1</Id> <LocationId>sample string 9</LocationId> <SplashScreen>sample string 11</SplashScreen> <SplashUrl>sample string 12</SplashUrl> <State>sample string 6</State> <ZipCode>sample string 8</ZipCode> </TerminalLocationModel>][application/x-www-form-urlencoded, Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TerminalLocationModel'.]Response Information
Resource Description
IHttpActionResultNone.