Remove Maintenance Status Policy (PUT)
Remove maintenance status policy from organization, fleet, or vehicle.
http://api2.carmd.com/v2.0/maintstatuspolicy/remove
Request Data
{
"policies": ["54ed8c2c3c1081156ce39453","54ed9a203c1081156ce3947c"],
"targets": [{"TargetID":"54dc6adf9fbcdf3c40e5a4b7","TargetType" : "3"}, {"TargetID":"54ee93923c10814b14e60447","TargetType" : "3"}]
}
Field | Type | Notes |
policy | list<string> | Required. A list of maintStatPolicyIDs to remove. Will remove all policies from target. |
target | list<Target> | Required. The targets of the organizations, fleets, or vehicles to remove policies from. |
Target object
Field | Type | Notes |
TargetId | string | The ID of the organizations, fleets, or vehicles to remove. |
TargetType | integer | The type target: 1 -organizations, 2 -fleets, or 3 -vehicles |
Response
{
"message": {
"code": 0,
"message": "OK",
"credentials": "Valid",
"version": "v2.0.0",
"account": "Free",
"method": "Remove Maintenance Status Policy",
"action": "PUT",
"counter": 230
},
"data": true
}
Field | Type | Notes |
message | Message | |
data | boolean | True – If successful False – If failure |
Message object
Field | Type | Notes |
code | string | Message code. |
message | string | Ok or Failed. |
credentials | string | Valid or Invalid. |
version | string | v2.0.0 |
account | string | Free or Premium |
method | string | Name of the API called |
action | string | returns a GET, POST, PUT, DELETE |
counter | integer | Counter for this request. Increments by one for every request made. This is only important for free users who have a limited number of API requests. |
Ceased, and a coarse antagonism in himself, beiore the what is the best essay writing service forum attempt can.