Update a journey assignment

patch

/hcmRestApi/resources/11.13.18.05/journeyAllocations/{journeyAllocationsUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Journey Allocations resource and used to uniquely identify an instance of Journey Allocations. The client should not generate the hash key value. Instead, the client should query on the Journey Allocations collection resource in order to navigate to a specific instance of Journey Allocations to get the hash key.
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Criteria
    Title: Criteria
    The criteria resource is the child of the journeyAllocations resource. It includes all the various allocation criteria for a journey.
  • Date when the journey assignment ends.
  • Worker Counts
    Title: Worker Counts
    The count resource is the child of the journeyAllocations resource. It includes a summary of the count of workers in the journey allocation.
  • Workers
    Title: Workers
    The workers resource is the child of the journeyAllocations resource. It includes all the workers matching the allocation criteria.
Nested Schema : Criteria
Type: array
Title: Criteria
The criteria resource is the child of the journeyAllocations resource. It includes all the various allocation criteria for a journey.
Show Source
Nested Schema : Worker Counts
Type: array
Title: Worker Counts
The count resource is the child of the journeyAllocations resource. It includes a summary of the count of workers in the journey allocation.
Show Source
Nested Schema : Workers
Type: array
Title: Workers
The workers resource is the child of the journeyAllocations resource. It includes all the workers matching the allocation criteria.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : journeyAllocations-workerCounts-item-patch-request
Type: object
Show Source
Nested Schema : journeyAllocations-workers-item-patch-request
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : journeyAllocations-item-response
Type: object
Show Source
Nested Schema : Criteria
Type: array
Title: Criteria
The criteria resource is the child of the journeyAllocations resource. It includes all the various allocation criteria for a journey.
Show Source
Nested Schema : Worker Counts
Type: array
Title: Worker Counts
The count resource is the child of the journeyAllocations resource. It includes a summary of the count of workers in the journey allocation.
Show Source
Nested Schema : Workers
Type: array
Title: Workers
The workers resource is the child of the journeyAllocations resource. It includes all the workers matching the allocation criteria.
Show Source
Nested Schema : journeyAllocations-criteria-item-response
Type: object
Show Source
Nested Schema : journeyAllocations-workerCounts-item-response
Type: object
Show Source
Nested Schema : journeyAllocations-workers-item-response
Type: object
Show Source
Back to Top