POST api/negotiator/create

Request Information

URI Parameters

None.

Body Parameters

CreateNegotiatorCommandDataContract
NameDescriptionTypeAdditional information
Initials

string

None.

JobTitle

string

None.

ContactName

string

None.

Gender

EnumDataContract

None.

Title

string

None.

FirstName

string

None.

LegalName

string

None.

LastName

string

None.

Password

string

None.

HomeBranchID

integer

None.

EmailAddress

string

None.

Responsibilities

Collection of EnumDataContract

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Initials": "sample string 1",
  "JobTitle": "sample string 2",
  "ContactName": "sample string 3",
  "Gender": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Title": "sample string 4",
  "FirstName": "sample string 5",
  "LegalName": "sample string 6",
  "LastName": "sample string 7",
  "Password": "sample string 8",
  "HomeBranchID": 9,
  "EmailAddress": "sample string 10",
  "Responsibilities": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    }
  ],
  "Id": 11
}

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.