POST v1/merge/employee-personals?allowSameFile={allowSameFile}

Merge Employee Personal Profiles

Request Information

URI Parameters

NameDescriptionTypeAdditional information
allowSameFile

Determines if the import allows the content to be imported multiple times

boolean

Default value is True

Body Parameters

The items to copy.

Collection of MergeEmployeePersonalDTO
NameDescriptionTypeAdditional information
SourceEmployeeNumber

string

None.

TargetEmployeeNumber

string

None.

IgnoreNameMismatch

boolean

None.

IgnoreAddressMismatch

boolean

None.

SourceCompanyCode

string

None.

SourceDivisionCode

string

None.

TargetCompanyCode

string

None.

TargetDivisionCode

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "sourceEmployeeNumber": "sample string 1",
    "targetEmployeeNumber": "sample string 2",
    "ignoreNameMismatch": true,
    "ignoreAddressMismatch": true,
    "sourceCompanyCode": "sample string 3",
    "sourceDivisionCode": "sample string 4",
    "targetCompanyCode": "sample string 5",
    "targetDivisionCode": "sample string 6"
  },
  {
    "sourceEmployeeNumber": "sample string 1",
    "targetEmployeeNumber": "sample string 2",
    "ignoreNameMismatch": true,
    "ignoreAddressMismatch": true,
    "sourceCompanyCode": "sample string 3",
    "sourceDivisionCode": "sample string 4",
    "targetCompanyCode": "sample string 5",
    "targetDivisionCode": "sample string 6"
  }
]

text/xml

Sample:
<ArrayOfMergeEmployeePersonalDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.Integration.ServiceContracts.Data.Models">
  <MergeEmployeePersonalDTO>
    <SourceCompanyCode>sample string 3</SourceCompanyCode>
    <SourceDivisionCode>sample string 4</SourceDivisionCode>
    <TargetCompanyCode>sample string 5</TargetCompanyCode>
    <TargetDivisionCode>sample string 6</TargetDivisionCode>
    <IgnoreAddressMismatch>true</IgnoreAddressMismatch>
    <IgnoreNameMismatch>true</IgnoreNameMismatch>
    <SourceEmployeeNumber>sample string 1</SourceEmployeeNumber>
    <TargetEmployeeNumber>sample string 2</TargetEmployeeNumber>
  </MergeEmployeePersonalDTO>
  <MergeEmployeePersonalDTO>
    <SourceCompanyCode>sample string 3</SourceCompanyCode>
    <SourceDivisionCode>sample string 4</SourceDivisionCode>
    <TargetCompanyCode>sample string 5</TargetCompanyCode>
    <TargetDivisionCode>sample string 6</TargetDivisionCode>
    <IgnoreAddressMismatch>true</IgnoreAddressMismatch>
    <IgnoreNameMismatch>true</IgnoreNameMismatch>
    <SourceEmployeeNumber>sample string 1</SourceEmployeeNumber>
    <TargetEmployeeNumber>sample string 2</TargetEmployeeNumber>
  </MergeEmployeePersonalDTO>
</ArrayOfMergeEmployeePersonalDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The results of the import.

ImportResultDTO
NameDescriptionTypeAdditional information
NewRecords

integer

None.

UpdatedRecords

integer

None.

Errors

Collection of ImportErrorDTO

None.

NewRecordKeys

Collection of ImportKeyDTO

None.

UpdatedRecordKeys

Collection of ImportKeyDTO

None.

ImportKey

GlobalEntityKeyOfIImportSubmission

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.