POST api/vnnic/request-transfer

Request Information

URI Parameters

None.

Body Parameters

RequestTransferModel
NameDescriptionTypeAdditional information
domain

string

None.

quantity

integer

None.

authentication_code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "domain": "sample string 1",
  "quantity": 2,
  "authentication_code": "sample string 3"
}

text/html

Sample:
{"domain":"sample string 1","quantity":2,"authentication_code":"sample string 3"}

application/xml, text/xml

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

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 'RequestTransferModel'.

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>