Cancel subscription

Action type: Do
Resource type: marketplaceCancelAbo

Cancels a subscription for the onOffice marketplace.

See technical marketplace documentation for more information.

Parameter:

  • aboid
    STRING. Subscription ID.
  • cancelationDate
    DATE. Cancelation date. From this date on no more debits will be made.

Example:

...
{
    "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
    "resourceid": "",
    "identifier": "",
    "resourcetype": "marketplaceCancelAbo",
    "parameters": {
        "aboid": "5",
        "cancelationDate": "2019-10-05"
    }
}

...

Response:

{
    "status": {
        "code": 200,
        "errorcode": 0,
        "message": "OK"
    },
    "response": {
        "results": [
            {
                "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
                "resourceid": "",
                "resourcetype": "marketplaceCancelAbo",
                "cacheable": false,
                "identifier": "",
                "data": {
                    "meta": {
                        "cntabsolute": null
                    },
                    "records": [
                        {
                            "id": 0,
                            "type": "",
                            "elements": {
                                "result": "success"
                            }
                        }
                    ]
                },
                "status": {
                    "errorcode": 0,
                    "message": "OK"
                }
            }
        ]
    }
}