PUT api/CustomerVenue?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerVenueDTO
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerID

integer

None.

RegionID

integer

None.

Name

string

None.

PostalCode

string

None.

ContactTel

string

None.

EmailAddress

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

Suburb

string

None.

Province

string

None.

Latitude

string

None.

Longitude

string

None.

IsDeleted

boolean

None.

RegionName

string

None.

CheckedIn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerID": 2,
  "RegionID": 3,
  "Name": "sample string 4",
  "PostalCode": "sample string 5",
  "ContactTel": "sample string 6",
  "EmailAddress": "sample string 7",
  "AddressLine1": "sample string 8",
  "AddressLine2": "sample string 9",
  "Suburb": "sample string 10",
  "Province": "sample string 11",
  "Latitude": "sample string 12",
  "Longitude": "sample string 13",
  "IsDeleted": true,
  "RegionName": "sample string 15",
  "CheckedIn": true
}

application/xml, text/xml

Sample:
<CustomerVenueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <AddressLine1>sample string 8</AddressLine1>
  <AddressLine2>sample string 9</AddressLine2>
  <CheckedIn>true</CheckedIn>
  <ContactTel>sample string 6</ContactTel>
  <CustomerID>2</CustomerID>
  <EmailAddress>sample string 7</EmailAddress>
  <ID>1</ID>
  <IsDeleted>true</IsDeleted>
  <Latitude>sample string 12</Latitude>
  <Longitude>sample string 13</Longitude>
  <Name>sample string 4</Name>
  <PostalCode>sample string 5</PostalCode>
  <Province>sample string 11</Province>
  <RegionID>3</RegionID>
  <RegionName>sample string 15</RegionName>
  <Suburb>sample string 10</Suburb>
</CustomerVenueDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>