POST api/LocationContacts
Request Information
URI Parameters
None.
Body Parameters
LocationContactName | Description | Type | Additional information |
---|---|---|---|
LocationContactID | integer |
None. |
|
LocationID | integer |
None. |
|
ContactFirstName | string |
String length: inclusive between 0 and 50 |
|
ContactLastName | string |
String length: inclusive between 0 and 50 |
|
ContactPrefix | string |
String length: inclusive between 0 and 10 |
|
ContactSuffix | string |
String length: inclusive between 0 and 10 |
|
ContactTitle | string |
String length: inclusive between 0 and 50 |
|
ContactOfficePhone | string |
String length: inclusive between 0 and 20 |
|
ContactMobilePhone | string |
String length: inclusive between 0 and 20 |
|
ContactFax | string |
String length: inclusive between 0 and 20 |
|
ContactEmail | string |
String length: inclusive between 0 and 100 |
|
ContactEmail2 | string |
String length: inclusive between 0 and 100 |
|
ContactWebSite | string |
String length: inclusive between 0 and 50 |
|
ContactAddress1 | string |
String length: inclusive between 0 and 100 |
|
ContactAddress2 | string |
String length: inclusive between 0 and 100 |
|
ContactCity | string |
String length: inclusive between 0 and 100 |
|
ContactStateProvince | string |
String length: inclusive between 0 and 50 |
|
ContactPostalCode | string |
String length: inclusive between 0 and 30 |
|
ContactCountry | string |
String length: inclusive between 0 and 10 |
|
ID | integer |
None. |
Request Formats
application/json, text/json
{ "LocationContactID": 1, "LocationID": 1, "ContactFirstName": "sample string 2", "ContactLastName": "sample string 3", "ContactPrefix": "sample string 4", "ContactSuffix": "sample string 5", "ContactTitle": "sample string 6", "ContactOfficePhone": "sample string 7", "ContactMobilePhone": "sample string 8", "ContactFax": "sample string 9", "ContactEmail": "sample string 10", "ContactEmail2": "sample string 11", "ContactWebSite": "sample string 12", "ContactAddress1": "sample string 13", "ContactAddress2": "sample string 14", "ContactCity": "sample string 15", "ContactStateProvince": "sample string 16", "ContactPostalCode": "sample string 17", "ContactCountry": "sample string 18", "ID": 19 }
application/xml, text/xml
<LocationContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric"> <ContactAddress1>sample string 13</ContactAddress1> <ContactAddress2>sample string 14</ContactAddress2> <ContactCity>sample string 15</ContactCity> <ContactCountry>sample string 18</ContactCountry> <ContactEmail>sample string 10</ContactEmail> <ContactEmail2>sample string 11</ContactEmail2> <ContactFax>sample string 9</ContactFax> <ContactFirstName>sample string 2</ContactFirstName> <ContactLastName>sample string 3</ContactLastName> <ContactMobilePhone>sample string 8</ContactMobilePhone> <ContactOfficePhone>sample string 7</ContactOfficePhone> <ContactPostalCode>sample string 17</ContactPostalCode> <ContactPrefix>sample string 4</ContactPrefix> <ContactStateProvince>sample string 16</ContactStateProvince> <ContactSuffix>sample string 5</ContactSuffix> <ContactTitle>sample string 6</ContactTitle> <ContactWebSite>sample string 12</ContactWebSite> <ID>19</ID> <LocationContactID>1</LocationContactID> <LocationID>1</LocationID> </LocationContact>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
LocationContactName | Description | Type | Additional information |
---|---|---|---|
LocationContactID | integer |
None. |
|
LocationID | integer |
None. |
|
ContactFirstName | string |
String length: inclusive between 0 and 50 |
|
ContactLastName | string |
String length: inclusive between 0 and 50 |
|
ContactPrefix | string |
String length: inclusive between 0 and 10 |
|
ContactSuffix | string |
String length: inclusive between 0 and 10 |
|
ContactTitle | string |
String length: inclusive between 0 and 50 |
|
ContactOfficePhone | string |
String length: inclusive between 0 and 20 |
|
ContactMobilePhone | string |
String length: inclusive between 0 and 20 |
|
ContactFax | string |
String length: inclusive between 0 and 20 |
|
ContactEmail | string |
String length: inclusive between 0 and 100 |
|
ContactEmail2 | string |
String length: inclusive between 0 and 100 |
|
ContactWebSite | string |
String length: inclusive between 0 and 50 |
|
ContactAddress1 | string |
String length: inclusive between 0 and 100 |
|
ContactAddress2 | string |
String length: inclusive between 0 and 100 |
|
ContactCity | string |
String length: inclusive between 0 and 100 |
|
ContactStateProvince | string |
String length: inclusive between 0 and 50 |
|
ContactPostalCode | string |
String length: inclusive between 0 and 30 |
|
ContactCountry | string |
String length: inclusive between 0 and 10 |
|
ID | integer |
None. |
Response Formats
application/json, text/json
{ "LocationContactID": 1, "LocationID": 1, "ContactFirstName": "sample string 2", "ContactLastName": "sample string 3", "ContactPrefix": "sample string 4", "ContactSuffix": "sample string 5", "ContactTitle": "sample string 6", "ContactOfficePhone": "sample string 7", "ContactMobilePhone": "sample string 8", "ContactFax": "sample string 9", "ContactEmail": "sample string 10", "ContactEmail2": "sample string 11", "ContactWebSite": "sample string 12", "ContactAddress1": "sample string 13", "ContactAddress2": "sample string 14", "ContactCity": "sample string 15", "ContactStateProvince": "sample string 16", "ContactPostalCode": "sample string 17", "ContactCountry": "sample string 18", "ID": 19 }
application/xml, text/xml
<LocationContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric"> <ContactAddress1>sample string 13</ContactAddress1> <ContactAddress2>sample string 14</ContactAddress2> <ContactCity>sample string 15</ContactCity> <ContactCountry>sample string 18</ContactCountry> <ContactEmail>sample string 10</ContactEmail> <ContactEmail2>sample string 11</ContactEmail2> <ContactFax>sample string 9</ContactFax> <ContactFirstName>sample string 2</ContactFirstName> <ContactLastName>sample string 3</ContactLastName> <ContactMobilePhone>sample string 8</ContactMobilePhone> <ContactOfficePhone>sample string 7</ContactOfficePhone> <ContactPostalCode>sample string 17</ContactPostalCode> <ContactPrefix>sample string 4</ContactPrefix> <ContactStateProvince>sample string 16</ContactStateProvince> <ContactSuffix>sample string 5</ContactSuffix> <ContactTitle>sample string 6</ContactTitle> <ContactWebSite>sample string 12</ContactWebSite> <ID>19</ID> <LocationContactID>1</LocationContactID> <LocationID>1</LocationID> </LocationContact>