Switch from the Entities client to the Jobs client
With the introduction of a Jobs client, you need to replace the use of EntitiesClient and QueryingClient with JobClient when working with M.Target and M.JobDescription entities.
To help you update your code to take advantage of the Jobs client, here are some more detailed examples.
The following examples illustrate how to replace the use of EntitiesClient and QueryingClient with JobClient when using the Web SDK to work with M.Target and M.JobDescription entities.
Fetch a Job description
Here is an example that retrieves a job description using the Entities client.
To use the Jobs client, update the code as follows:
Save a job description
Here is an example that uses the Entities client.
To use the Jobs client, update the code as follows:
Delete a job description
Here is an example that uses the Entities client.
To use the Jobs client, update the code as follows:
Fetch a job target
Here is an example that uses the Entities client.
To use the jobs client, update the code as follows:
Save a job target
Here is an example that uses the Entities client.
To use the Jobs client, update the code as follows:
Delete a job target
Here is an example that uses the Entities client.
To use the Jobs client, update the code as follows: