POST api/SiteOwner
Create a new Site Owner in Exsalerate. Required: CompanyName, Phone, Country.
Request Information
URI Parameters
None.
Body Parameters
The Site Owner Model containing properties for populating a new Site Owner.
SiteOwnerModelName | Description | Type | Additional information |
---|---|---|---|
CompanyName |
Required: Your company name |
string |
Required Max length: 200 |
Phone |
Required: Main contact phone number |
string |
Required Max length: 50 |
WebsiteUrl |
The URL to your company web site |
string |
Max length: 250 |
CompanyEmail | string |
Max length: 50 |
|
Country | string |
Required Max length: 250 |
Request Formats
application/json, text/json
Sample:
{ "CompanyName": "sample string 1", "Phone": "sample string 2", "WebsiteUrl": "sample string 3", "CompanyEmail": "sample string 4", "Country": "sample string 5" }
application/xml, text/xml
Sample:
<SiteOwnerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExsalerateWebAPI.Models"> <CompanyEmail>sample string 4</CompanyEmail> <CompanyName>sample string 1</CompanyName> <Country>sample string 5</Country> <Phone>sample string 2</Phone> <WebsiteUrl>sample string 3</WebsiteUrl> </SiteOwnerModel>
application/x-www-form-urlencoded
Sample:
CompanyName=MyCompany&Phone=09111222&&Country=New Zealand
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |