POST api/vnnic/delete-domain-info

Request Information

URI Parameters

None.

Body Parameters

DeleteDomainInfoModel
NameDescriptionTypeAdditional information
domain

string

None.

document_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "domain": "sample string 1",
  "document_id": 2
}

text/html

Sample:
{"domain":"sample string 1","document_id":2}

application/xml, text/xml

Sample:
<DeleteDomainInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MB.VNNIC.API.Models">
  <document_id>2</document_id>
  <domain>sample string 1</domain>
</DeleteDomainInfoModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeleteDomainInfoModel'.

Response Information

Resource Description

JsonRespondModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

errorCode

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "errorCode": 3,
  "data": {}
}

text/html

Sample:
{"status":true,"message":"sample string 2","errorCode":3,"data":{}}

application/xml, text/xml

Sample:
<JsonRespondModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MB.VNNIC.API.Models">
  <data />
  <errorCode>3</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</JsonRespondModel>