Click or drag to resize

OpenApiPOST_Jobs__id__Action

Car Delivery Network
Performs the specified action on the specified Job resource.

Namespace: CarDeliveryNetwork.Api
Assembly: CarDeliveryNetwork.Api (in CarDeliveryNetwork.Api.dll) Version: 3.2.3107.0 (3.2.3107)
Syntax
C#
public void POST /Jobs/{id}/Action(
	string ids,
	Action action
)

Parameters

ids  String
Ids of the target Jobs.
action  Action
Action to perform on the target Job.
Remarks

Headers

HeaderRequiredDescription
Authorization: Basic <credentials>NoThe basic authorization header. Not required when using API key.
Content-Type: application/jsonYesIndicates that the request and response bodies are in JSON format.

URL Parameters

ParameterRequiredUsageDescription
idYes/jobs/123/actionThe CDN job ID to update
regionYesus|uk|trainingus|trainingukThe target CDN API.
apikeyNoapikey=[Your API Key]The API key for this call. Not required when using Authorization header.

Body

Action

Example
URL
https://vincarrier.cardeliverynetwork.com/<region>/vind2/openapi/jobs/123/action?apikey=299bde73-d4d0-4684-9e51
CANCEL Job Action Body
{
    "Name" : "cancel",
    "Note" : "Vehicle not available" 
}
See Also