POST api/negotiator/create

Create New Negotiator

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Negotiators.Command.CreateNegotiatorCommandDataContract
NameDescriptionTypeAdditional information
Initials

string

None.

JobTitle

string

None.

ContactName

string

None.

Gender

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Title

string

None.

FirstName

string

None.

LegalName

string

None.

LastName

string

None.

Password

string

None.

HomeBranchID

integer

None.

EmailAddress

string

None.

Telephone

string

None.

Responsibilities

Collection of Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

Permissions

Collection of string

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

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",
  "Telephone": "sample string 11",
  "Responsibilities": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    }
  ],
  "Permissions": [
    "sample string 1",
    "sample string 2"
  ],
  "Id": 12
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.