POST api/v1/Reports/DomainName/PostDomainName

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

DomainName
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "TenantId": 3
}

text/html

Sample:
{"Id":1,"Name":"sample string 2","TenantId":3}

text/xml

Sample:
<DomainName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.DbContexts.DbEntities">
  <Id>1</Id>
  <Name>sample string 2</Name>
  <TenantId>3</TenantId>
</DomainName>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

text/xml

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