POST api/Employee

Request Information

URI Parameters

None.

Body Parameters

EmployeeParam
NameDescriptionTypeAdditional information
Salutation

integer

None.

FirstName

string

Required

MiddleName

string

None.

LastName

string

Required

SSN

string

Required

Max length: 9

Min length: 9

DOB

string

Required

CellNumber

string

None.

PhoneNumber

string

None.

EmailAddress

string

Data type: EmailAddress

GenderId

integer

None.

PrimaryLangId

string

None.

IsSenior

boolean

None.

Street

string

None.

Street2

string

None.

City

string

None.

State

string

None.

County

string

None.

ZipCode

string

Max length: 5

Min length: 5

CountryId

string

Max length: 2

Min length: 2

ModifyBy

integer

None.

UpdateType

integer

None.

UpdateTypeName

string

None.

Branches

Collection of globally unique identifier

None.

UserBranches

Collection of globally unique identifier

None.

TimeZone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Salutation": 1,
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "SSN": "sample string 5",
  "DOB": "sample string 6",
  "CellNumber": "sample string 7",
  "PhoneNumber": "sample string 8",
  "EmailAddress": "sample string 9",
  "GenderId": 10,
  "PrimaryLangId": "sample string 11",
  "IsSenior": true,
  "Street": "sample string 13",
  "Street2": "sample string 14",
  "City": "sample string 15",
  "State": "sample string 16",
  "County": "sample string 17",
  "ZipCode": "sample string 18",
  "CountryId": "sample string 19",
  "ModifyBy": 20,
  "UpdateType": 21,
  "UpdateTypeName": "sample string 22",
  "Branches": [
    "348aa409-890d-4d0b-883b-294a357d20c1",
    "b969c5fc-2fdb-4fea-b992-1a50b9906512"
  ],
  "UserBranches": [
    "c38f1f1b-7244-41c5-bcd3-86df7840f792",
    "24360fb0-8312-4881-81d3-2243ee20d3c2"
  ],
  "TimeZone": "sample string 23"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.