POST api/WebSite/Add
Request Information
URI Parameters
None.
Body Parameters
WebSiteAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| Url | string |
None. |
|
| GoogleAnalicts | string |
None. |
|
| CustomerID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"url": "sample string 2",
"googleAnalicts": "sample string 3",
"customerID": "15af8668-018d-4f6d-8474-f972d13c3a2f"
}
application/xml, text/xml
Sample:
<WebSiteAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <CustomerID>15af8668-018d-4f6d-8474-f972d13c3a2f</CustomerID> <GoogleAnalicts>sample string 3</GoogleAnalicts> <Title>sample string 1</Title> <Url>sample string 2</Url> </WebSiteAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Title":"sample string 1","Url":"sample string 2","GoogleAnalicts":"sample string 3","CustomerID":"15af8668-018d-4f6d-8474-f972d13c3a2f"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.