PlatformIntegrations
API ReferenceV1.2 (Current)

Batch Processing

Get batch job status

GET
/{resource}/batch/{jobId}
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

resourcestring

The resource type being batch processed

Value in"leases" | "renters" | "properties" | "users"
jobIdstring
Formatuuid

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://api.obligo.com/leases/batch/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Obligo-Version: string" \  -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "status": "Queued",
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "status": "Queued",
      "result": null,
      "error": "string"
    }
  ]
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Create a batch of resources

POST
/{resource}/batch/create
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

resourcestring

The resource type to batch create

Value in"leases" | "renters" | "properties" | "users"

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
items
Items1 <= items <= 100

Response Body

application/json

application/json

curl -X POST "https://api.obligo.com/leases/batch/create?idempotencyId=string" \  -H "Obligo-Version: string" \  -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "payload": {}      }    ]  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}

Update a batch of resources

POST
/{resource}/batch/update
AuthorizationBasic <token>

HTTP Basic authentication using clientId as username and clientSecret as password

In: header

Path Parameters

resourcestring

The resource type to batch update

Value in"leases" | "renters" | "properties" | "users"

Query Parameters

idempotencyId?string

Idempotency key for write requests. Cached for 24 hours.

Header Parameters

Obligo-Version?string

API version to use for the request. When you omit the header, the API version set on your app is used.

Account-Id?string

Required when operating on behalf of a connected account

Formatuuid
items
Items1 <= items <= 100

Response Body

application/json

application/json

application/json

curl -X POST "https://api.obligo.com/leases/batch/update?idempotencyId=string" \  -H "Obligo-Version: string" \  -H "Account-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "payload": {}      }    ]  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}
{
  "requestId": "string",
  "message": "string",
  "errorCode": "string"
}