POST web/Draft

Request Information

URI Parameters

None.

Body Parameters

CreateDraft
NameDescriptionTypeAdditional information
draft_name

string

Required

street

string

None.

city

string

None.

province

string

None.

country

IdValuePair

None.

entity

IdValuePair

None.

zipcode

string

None.

email_address

string

None.

notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "draft_name": "sample string 1",
  "street": "sample string 2",
  "city": "sample string 3",
  "province": "sample string 4",
  "country": {
    "value": "sample string 1",
    "id": 2
  },
  "entity": {
    "value": "sample string 1",
    "id": 2
  },
  "zipcode": "sample string 5",
  "email_address": "sample string 6",
  "notes": "sample string 7"
}

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

application/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot access a closed Stream.

text/xml

Sample:

An exception has occurred while using the formatter 'CustomXmlFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot access a closed Stream.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.