Updates a job.
Namespace: CarDeliveryNetwork.Api
Assembly: CarDeliveryNetwork.Api (in CarDeliveryNetwork.Api.dll) Version: 3.2.3008.0 (3.2.3008)
Syntax
Parameters
- id
- Type: SystemString
The id of the job to update. - job
- Type: CarDeliveryNetwork.Api.DataJob
The job updates to apply.
Return Value
Type: JobThe successfully updated job.
Remarks
Headers
Header | Description |
Content-Type: application/json | Indicates that the request and response bodies are in JSON format |
Content-Type: application/xml | Indicates that the request and response bodies are in XML format |
Request
Verb | URI | Body |
PUT | /jobs/id?apikey=xxx-xxx-xxx | Jobs |
Response
Normal Response Codes: 200, 203
Error Response Codes: computeFault (400, 500, …), badRequest (400), forbidden (403), itemNotFound (404)
This operation returns a response body, which contains the updated job.
Examples
URL
https://go.cardeliverynetwork.com/en/openapi/jobs/123?apikey=299bde73-d4d0-4684-9e51
See Also