PUT api/CustomerUser?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
CustomerUserVenueDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CustomerUser | CustomerUserDTO |
None. |
|
VenueList | Collection of CustomerVenueDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "CustomerUser": { "ID": 1, "CustomerID": 2, "Name": "sample string 3", "Username": "sample string 4", "Password": "sample string 5" }, "VenueList": [ { "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 }, { "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:
<CustomerUserVenueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerUser> <CustomerID>2</CustomerID> <ID>1</ID> <Name>sample string 3</Name> <Password>sample string 5</Password> <Username>sample string 4</Username> </CustomerUser> <ID>1</ID> <VenueList> <CustomerVenueDTO> <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> <CustomerVenueDTO> <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> </VenueList> </CustomerUserVenueDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerUserVenueDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CustomerUser | CustomerUserDTO |
None. |
|
VenueList | Collection of CustomerVenueDTO |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "CustomerUser": { "ID": 1, "CustomerID": 2, "Name": "sample string 3", "Username": "sample string 4", "Password": "sample string 5" }, "VenueList": [ { "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 }, { "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:
<CustomerUserVenueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerUser> <CustomerID>2</CustomerID> <ID>1</ID> <Name>sample string 3</Name> <Password>sample string 5</Password> <Username>sample string 4</Username> </CustomerUser> <ID>1</ID> <VenueList> <CustomerVenueDTO> <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> <CustomerVenueDTO> <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> </VenueList> </CustomerUserVenueDTO>