Badges
Create a new Badge
Changed onOAuth Scope
This endpoint requires the following OAuth scope manage_badges.
Record UUID
UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the x-record-uuid response header.
post/badge.json
Request
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/badge.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_badges
Request body
Example request
{
"uuid": "123e4567-fe09-41de-b7d5-23f946b700cb",
"regarding_form_uuid": "123e4567-4b68-437d-98c2-23f94cecbf3b",
"regarding_asset_type_uuid": "123e4567-6dcd-492c-8c70-23f9414984cb"
}Response
Success
Example response
{
"message": "OK"
}Changes
- warning
removed the request property
- warning
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info