POST v1/ams/{externalPartner}/link/divisions/{divisionId}/employees

Request Information

URI Parameters

NameDescriptionTypeAdditional information
externalPartner

ExternalPartners

Required

divisionId

string

Required

Body Parameters

Collection of AMSEmployeeExternalLinkDTO
NameDescriptionTypeAdditional information
EmployeeKey

GlobalEntityKeyOfIEmployee

None.

ExternalKey

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "employeeKey": "<empty>",
    "externalKey": "sample string 1"
  },
  {
    "employeeKey": "<empty>",
    "externalKey": "sample string 1"
  }
]

text/xml

Sample:
<ArrayOfAMSEmployeeExternalLinkDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.Data.Models">
  <AMSEmployeeExternalLinkDTO>
    <EmployeeKey xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
      <d3p1:_entityKey>
        <d3p1:_hasValue>false</d3p1:_hasValue>
        <d3p1:_value>00000000-0000-0000-0000-000000000000</d3p1:_value>
      </d3p1:_entityKey>
    </EmployeeKey>
    <ExternalKey>sample string 1</ExternalKey>
  </AMSEmployeeExternalLinkDTO>
  <AMSEmployeeExternalLinkDTO>
    <EmployeeKey xmlns:d3p1="http://schemas.datacontract.org/2004/07/BDBPayroll.Services.Data.Shared.Keys">
      <d3p1:_entityKey>
        <d3p1:_hasValue>false</d3p1:_hasValue>
        <d3p1:_value>00000000-0000-0000-0000-000000000000</d3p1:_value>
      </d3p1:_entityKey>
    </EmployeeKey>
    <ExternalKey>sample string 1</ExternalKey>
  </AMSEmployeeExternalLinkDTO>
</ArrayOfAMSEmployeeExternalLinkDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.