Guardsman Feed API
  1. Feed Operations
Guardsman Feed API
  • Authentication
    • Oauth authentication
      POST
  • Feed Operations
    • Create feed entry
      POST
    • Create cancellation request entry
      POST
  1. Feed Operations

Create cancellation request entry

Testing
POST
/v1/feed/cancelpolicy
Use this endpoint to create a new cancellation request entry. Field character restrictions are the same as the feed entry endpoint, please see that section for guidance.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params multipart/form-dataRequired

Responses

🟢201Record Created Successfully
application/json
On a successful request, a 201 response will be returned, along with a json object containing information about the record.
Body

🟠400Invalid request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/feed/cancelpolicy' \
--header 'Authorization: Bearer <token>' \
--form 'account_code=""' \
--form 'title=""' \
--form 'initials=""' \
--form 'surname=""' \
--form 'address1=""' \
--form 'address2=""' \
--form 'town=""' \
--form 'county=""' \
--form 'postcode=""' \
--form 'email=""' \
--form 'policy=""' \
--form 'total_seats="3"' \
--form 'total_value="1234.56"' \
--form 'policy_premium="22.50"' \
--form 'description=""' \
--form 'manufacturer=""' \
--form 'model=""' \
--form 'colour=""' \
--form 'fabric=""' \
--form 'purchase_date=""' \
--form 'delivery_date=""' \
--form 'order_number=""' \
--form 'invoice_number=""' \
--form 'telephone=""' \
--form 'cancellation_reason=""'
Response Response Example
201 - Success
{
    "status": 1,
    "message": "Entry stored successfully",
    "recordid": 14
}
Modified at 2025-11-24 16:17:17
Previous
Create feed entry
Built with