OpenApiPUT_Jobs__id_ Method

Car Delivery Network API DocumentationCar Delivery Network
Updates a job.

Namespace:  CarDeliveryNetwork.Api
Assembly:  CarDeliveryNetwork.Api (in CarDeliveryNetwork.Api.dll) Version: 3.2.3015.0 (3.2.3015)
Syntax

public Job PUT_Jobs__id_(
	string id,
	Job job
)

Parameters

id
Type: SystemString
The id of the job to update.
job
Type: CarDeliveryNetwork.Api.DataJob
The job updates to apply.

Return Value

Type: Job
The successfully updated job.
Remarks

Headers

HeaderDescription
Content-Type: application/jsonIndicates that the request and response bodies are in JSON format
Content-Type: application/xmlIndicates that the request and response bodies are in XML format

Request

VerbURIBody
PUT/jobs/id?apikey=xxx-xxx-xxxJobs

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

Reference