POST v1/copy/companies/{companyCode}/divisions/{divisionCode}/pto-plans/{ptoCode}?targetCompanyCode={targetCompanyCode}&targetDivisionCode={targetDivisionCode}&targetOptionalPlanCode={targetOptionalPlanCode}&targetOptionalPlanDescription={targetOptionalPlanDescription}&importAction={importAction}

Copy Division PTO Plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

The source company code.

string

Required

divisionCode

The source division code.

string

Required

ptoCode

The source plan code.

string

Required

targetCompanyCode

The target company code.

string

Required

targetDivisionCode

The target division code.

string

Required

targetOptionalPlanCode

The target plan code.

string

Default value is

targetOptionalPlanDescription

The target plan description.

string

Default value is

importAction

The import Action.

ImportAction

Default value is Insert

Body Parameters

None.

Response Information

Resource Description

The results of the copy.

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.