POST Integration/v1/Employee

Request Information

URI Parameters

None.

Body Parameters

EmployeeIntegrationDTO
NameDescriptionTypeAdditional information
CorporationCode

string

String length: inclusive between 0 and 20

Id

string

String length: inclusive between 0 and 20

CompanyEmployeeId

string

String length: inclusive between 0 and 20

FirstName

string

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

MiddleName

string

String length: inclusive between 0 and 50

DOB

date

None.

Gender

string

String length: inclusive between 0 and 1

SSN

string

String length: inclusive between 0 and 12

Email

string

String length: inclusive between 0 and 150

HomePhone

string

String length: inclusive between 0 and 20

WorkPhone

string

String length: inclusive between 0 and 25

CellPhone

string

String length: inclusive between 0 and 20

JobTitle

string

String length: inclusive between 0 and 100

Contractor

boolean

None.

ContractorCompanyName

string

String length: inclusive between 0 and 100

JobNumber

string

String length: inclusive between 0 and 50

ProjectStartDate

date

None.

JobStatus

integer

None.

Address1

string

String length: inclusive between 0 and 100

Address2

string

String length: inclusive between 0 and 50

City

string

String length: inclusive between 0 and 30

StateCode

string

String length: inclusive between 0 and 20

Zipcode

string

String length: inclusive between 0 and 10

Country

string

String length: inclusive between 0 and 20

WorkLocationCode

string

String length: inclusive between 0 and 10

ClientWorkLocationCode

string

String length: inclusive between 0 and 20

WorkLocationName

string

String length: inclusive between 0 and 100

WorkLocationAddress1

string

String length: inclusive between 0 and 200

WorkLocationAddress2

string

String length: inclusive between 0 and 10

WorkLocationCity

string

String length: inclusive between 0 and 100

WorkLocationState

string

String length: inclusive between 0 and 2

WorkLocationZipcode

string

String length: inclusive between 0 and 10

WorkLocationCountry

string

String length: inclusive between 0 and 50

SupervisorEmployeeId

string

String length: inclusive between 0 and 20

SupervisorCompanyEmployeeId

string

String length: inclusive between 0 and 12

SupervisorFirstName

string

String length: inclusive between 0 and 50

SupervisorMiddleName

string

String length: inclusive between 0 and 50

SupervisorLastName

string

String length: inclusive between 0 and 50

SupervisorEmail

string

String length: inclusive between 0 and 150

SupervisorWorkPhone

string

String length: inclusive between 0 and 25

SupervisorCellPhone

string

String length: inclusive between 0 and 20

SupervisorHomePhone

string

String length: inclusive between 0 and 20

SupervisorJobTitle

string

String length: inclusive between 0 and 100

DOH

date

None.

StartDate

date

None.

EndDate

date

None.

Status

string

String length: inclusive between 0 and 1

CustomField1

string

String length: inclusive between 0 and 100

CustomField2

string

String length: inclusive between 0 and 100

CustomField3

string

String length: inclusive between 0 and 100

CustomField4

string

String length: inclusive between 0 and 100

CustomField5

string

String length: inclusive between 0 and 50

CustomField6

string

String length: inclusive between 0 and 100

InjuryManagementNotificationEmail

string

String length: inclusive between 0 and 500

IsSupervisor

string

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "CorporationCode": "sample string 1",
  "Id": "sample string 2",
  "CompanyEmployeeId": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "MiddleName": "sample string 6",
  "DOB": "2024-11-21T00:35:17.3734624-08:00",
  "Gender": "sample string 7",
  "SSN": "sample string 8",
  "Email": "sample string 9",
  "HomePhone": "sample string 10",
  "WorkPhone": "sample string 11",
  "CellPhone": "sample string 12",
  "JobTitle": "sample string 13",
  "Contractor": true,
  "ContractorCompanyName": "sample string 14",
  "JobNumber": "sample string 15",
  "ProjectStartDate": "2024-11-21T00:35:17.3734624-08:00",
  "JobStatus": 1,
  "Address1": "sample string 16",
  "Address2": "sample string 17",
  "City": "sample string 18",
  "StateCode": "sample string 19",
  "Zipcode": "sample string 20",
  "Country": "sample string 21",
  "WorkLocationCode": "sample string 22",
  "ClientWorkLocationCode": "sample string 23",
  "WorkLocationName": "sample string 24",
  "WorkLocationAddress1": "sample string 25",
  "WorkLocationAddress2": "sample string 26",
  "WorkLocationCity": "sample string 27",
  "WorkLocationState": "sample string 28",
  "WorkLocationZipcode": "sample string 29",
  "WorkLocationCountry": "sample string 30",
  "SupervisorEmployeeId": "sample string 31",
  "SupervisorCompanyEmployeeId": "sample string 32",
  "SupervisorFirstName": "sample string 33",
  "SupervisorMiddleName": "sample string 34",
  "SupervisorLastName": "sample string 35",
  "SupervisorEmail": "sample string 36",
  "SupervisorWorkPhone": "sample string 37",
  "SupervisorCellPhone": "sample string 38",
  "SupervisorHomePhone": "sample string 39",
  "SupervisorJobTitle": "sample string 40",
  "DOH": "2024-11-21T00:35:17.3891037-08:00",
  "StartDate": "2024-11-21T00:35:17.3891037-08:00",
  "EndDate": "2024-11-21T00:35:17.3891037-08:00",
  "Status": "sample string 41",
  "CustomField1": "sample string 42",
  "CustomField2": "sample string 43",
  "CustomField3": "sample string 44",
  "CustomField4": "sample string 45",
  "CustomField5": "sample string 46",
  "CustomField6": "sample string 47",
  "InjuryManagementNotificationEmail": "sample string 48",
  "IsSupervisor": "sample string 49"
}

application/xml, text/xml

Sample:
<EmployeeIntegrationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.DTO._COSEmployeeIntegration">
  <Address1>sample string 16</Address1>
  <Address2>sample string 17</Address2>
  <CellPhone>sample string 12</CellPhone>
  <City>sample string 18</City>
  <ClientWorkLocationCode>sample string 23</ClientWorkLocationCode>
  <CompanyEmployeeId>sample string 3</CompanyEmployeeId>
  <Contractor>true</Contractor>
  <ContractorCompanyName>sample string 14</ContractorCompanyName>
  <CorporationCode>sample string 1</CorporationCode>
  <Country>sample string 21</Country>
  <CustomField1>sample string 42</CustomField1>
  <CustomField2>sample string 43</CustomField2>
  <CustomField3>sample string 44</CustomField3>
  <CustomField4>sample string 45</CustomField4>
  <CustomField5>sample string 46</CustomField5>
  <CustomField6>sample string 47</CustomField6>
  <DOB>2024-11-21T00:35:17.3734624-08:00</DOB>
  <DOH>2024-11-21T00:35:17.3891037-08:00</DOH>
  <Email>sample string 9</Email>
  <EndDate>2024-11-21T00:35:17.3891037-08:00</EndDate>
  <FirstName>sample string 4</FirstName>
  <Gender>sample string 7</Gender>
  <HomePhone>sample string 10</HomePhone>
  <Id>sample string 2</Id>
  <InjuryManagementNotificationEmail>sample string 48</InjuryManagementNotificationEmail>
  <IsSupervisor>sample string 49</IsSupervisor>
  <JobNumber>sample string 15</JobNumber>
  <JobStatus>1</JobStatus>
  <JobTitle>sample string 13</JobTitle>
  <LastName>sample string 5</LastName>
  <MiddleName>sample string 6</MiddleName>
  <ProjectStartDate>2024-11-21T00:35:17.3734624-08:00</ProjectStartDate>
  <SSN>sample string 8</SSN>
  <StartDate>2024-11-21T00:35:17.3891037-08:00</StartDate>
  <StateCode>sample string 19</StateCode>
  <Status>sample string 41</Status>
  <SupervisorCellPhone>sample string 38</SupervisorCellPhone>
  <SupervisorCompanyEmployeeId>sample string 32</SupervisorCompanyEmployeeId>
  <SupervisorEmail>sample string 36</SupervisorEmail>
  <SupervisorEmployeeId>sample string 31</SupervisorEmployeeId>
  <SupervisorFirstName>sample string 33</SupervisorFirstName>
  <SupervisorHomePhone>sample string 39</SupervisorHomePhone>
  <SupervisorJobTitle>sample string 40</SupervisorJobTitle>
  <SupervisorLastName>sample string 35</SupervisorLastName>
  <SupervisorMiddleName>sample string 34</SupervisorMiddleName>
  <SupervisorWorkPhone>sample string 37</SupervisorWorkPhone>
  <WorkLocationAddress1>sample string 25</WorkLocationAddress1>
  <WorkLocationAddress2>sample string 26</WorkLocationAddress2>
  <WorkLocationCity>sample string 27</WorkLocationCity>
  <WorkLocationCode>sample string 22</WorkLocationCode>
  <WorkLocationCountry>sample string 30</WorkLocationCountry>
  <WorkLocationName>sample string 24</WorkLocationName>
  <WorkLocationState>sample string 28</WorkLocationState>
  <WorkLocationZipcode>sample string 29</WorkLocationZipcode>
  <WorkPhone>sample string 11</WorkPhone>
  <Zipcode>sample string 20</Zipcode>
</EmployeeIntegrationDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.