Prayer Letters Account
Prayer Letters Account Documentation
Prayer Letters Account [POST]
Prayer Letters Account [POST]
Request
Endpoint
POST /api/v2/account_lists/d28a55d6-9cd7-4228-8ac7-a0bce3037288/prayer_letters_account
Content-Type: application/vnd.api+json
Body
{
"data": {
"type": "prayer_letters_accounts",
"attributes": {
"oauth2_token": "b45b7323-ab13-44cf-b67a-c2b6fe50e4b3",
"updated_in_db_at": "2022-01-12 17:18:33 UTC"
}
}
}
Parameters
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
Required No
oauth2_token
Type
Unknown
Description API token to access prayerletters.com
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
201 Created
Body
{
"data": {
"id": "4e53a13f-c77c-4a95-af5a-cc1510bdce40",
"type": "prayer_letters_accounts",
"attributes": {
"created_at": "2022-01-12T17:18:33Z",
"updated_at": "2022-01-12T17:18:33Z",
"updated_in_db_at": "2022-01-12T17:18:33Z",
"valid_token": true
}
}
}
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
valid_token
Type
boolean
Description Is stored token valid?
Prayer Letters Account [GET]
Prayer Letters Account [GET]
Request
Endpoint
GET /api/v2/account_lists/289007aa-cc0e-458d-b4cf-4f51ed0ee0fc/prayer_letters_account
Content-Type: application/vnd.api+json
Body
Response
Headers
Content-Type: application/vnd.api+json; charset=utf-8
200 OK
Body
{
"data": {
"id": "a22294ba-e019-4cc6-bc1e-2ec8dfe70458",
"type": "prayer_letters_accounts",
"attributes": {
"created_at": "2022-01-12T17:18:33Z",
"updated_at": "2022-01-12T17:18:33Z",
"updated_in_db_at": "2022-01-12T17:18:33Z",
"valid_token": true
}
}
}
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
valid_token
Type
boolean
Description Is stored token valid?
Prayer Letters Account [DELETE]
Prayer Letters Account [DELETE]
Request
Endpoint
DELETE /api/v2/account_lists/766411ce-1745-45ba-b634-938ec2064bee/prayer_letters_account
Content-Type: application/vnd.api+json
Body
Response
Headers
204 No Content
Body
Prayer Letters Account [SYNC]
Prayer Letters Account [SYNC]
Request
Endpoint
GET /api/v2/account_lists/1d6de48a-4a4b-4526-aaea-11c63aa71bde/prayer_letters_account/sync
Content-Type: application/vnd.api+json
Body
Response
Headers
Content-Type: text/html
200 OK
Body
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
valid_token
Type
boolean
Description Is stored token valid?
Last updated