Create a gateway account timeline comment

Request

Creates a timeline comment on gateway account with a specified ID.

Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required

ID of the resource.

Bodyapplication/jsonrequired

Gateway account timeline resource.

messagestring

Contents of the timeline message.

curl -i -X POST \
  'https://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/timeline' \
  -H 'Content-Type: application/json' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE' \
  -d '{
    "message": "string"
  }'

Responses

Gateway account timeline comment created.

Headers
Locationstring, (uri)

Location of the related resource.

Example:"https://api.rebilly.com/example"
X-RateLimit-Limitinteger

Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.

Example:3600
X-RateLimit-Remaininginteger

Remaining number of rate limit tokens for this request within the rate limit period. For example, in the sandbox environment, rate limits for non-GET endpoints are set at 3000 requests per 10 minutes.

Example:3600
Bodyapplication/json
idstring, <= 50 charactersread-only

ID of the timeline message.

Example:"tmln_0YV8Q9WEF5DTA8HFXS27D1G6GC"
typestringread-only

Type of timeline message.

Enum:"gateway-account-created""gateway-account-changed""gateway-account-enabled""gateway-account-disabled""gateway-account-down""gateway-account-up""gateway-account-closed""gateway-account-limit-reached""gateway-account-limit-reset""gateway-account-onboarding-completed"
triggeredBystringread-only

Specifies who, or what, triggered the timeline event.

Enum:"rebilly""app""direct-api"
messagestring

Contents of the timeline message.

extraDataobject(TimelineExtraData)read-only

Additional data.

occurredTimestring, (date-time)(ServerTimestamp)read-only

Date and time when the timeline message occurred.

Response
{ "id": "tmln_0YV8Q9WEF5DTA8HFXS27D1G6GC", "type": "gateway-account-created", "triggeredBy": "rebilly", "message": "string", "extraData": { "actions": [], "tables": [], "author": {}, "mentions": {}, "links": [] }, "occurredTime": "2019-08-24T14:15:22Z", "_links": [ {} ] }