Docs

Copy Schedule

POST /procurement-resources/{sourceResourceId}/copy-schedule/{targetResourceId}

POST/procurement-resources/{sourceResourceId}/copy-schedule/{targetResourceId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Appends a copy of every block on the source need to the target need. Advance-request links are not copied.

Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Path Parameters

FieldTypeRequiredDescription
sourceResourceIdGuidRequiredThe need to copy from.
targetResourceIdGuidRequiredThe need to copy onto.

Response

201 Created with the number of blocks copied, as a bare int.

Error Codes

HTTP StatusDescription
400Source and target are the same need, or either is a composite parent.
404Source or target need not found.