Gift Batch entity reference

This topic describes the entity and type representations for common items that the Gift Batch API uses. To learn about how to set up your developer account and work with the SKY API, see the Getting Started guide.

 

A machine-readable format for specifying errors in HTTP API responses based on https://tools.ietf.org/html/rfc7807.

The BadRequestResponseProblemDetails entity has the following properties:

PropertyTypeDescription
type string A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank".

Available values:
typedetail
urn:blackbaud:model-validation-errorA model validation rule was violated, such as a missing required field.
urn:blackbaud:bad-requestRequest was not in an acceptable format.
title string A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).
status integer The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
detail string A human-readable explanation specific to this occurrence of the problem.
instance string A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
trace_id string A request ID that can be provided to Blackbaud Support that may help with further troubleshooting.
span_id string A request ID that can be provided to Blackbaud Support that may help with further troubleshooting.

 

Defines fields for a batch to be added to the data store

The CreateBatch entity has the following properties:

PropertyTypeDescription
batch_description string The description of the batch.
batch_number string The unique ID specific to the batch.
expected_batch_total double The total value of all gifts the batch is expected to contain.
expected_number integer The total number of gifts the batch is expected to contain.

 

Defines fields returned when a batch is created

The CreatedBatch entity has the following properties:

PropertyTypeDescription
batch_id string The immutable system record ID of the created batch.

 

Represents the gift batch object

The GiftBatch entity has the following properties:

PropertyTypeDescription
id string The batch identifier
actual_amount double The actual batch amount
batch_description string The batch description
batch_number string The batch number
added_by string The user who created the batch
date_added datetime The date the batch was created. Includes an offset from UTC in ISO-8601 format: 1969-11-21T10:29:43-04:00.
has_exceptions boolean Indicates whether the batch has exceptions
approved boolean Indicates whether the batch is approved
number_of_gifts integer The actual number of gifts in the batch
projected_amount double The projected amount
projected_number_of_gifts integer The projected number of gifts

 

Represents a collection of gift batches

The GiftBatchCollection entity has the following properties:

PropertyTypeDescription
count integer The number of batch records included in the response.
giftbatches array of giftbatch Represents the gift batch object
limit integer Limit used for the request.
offset integer Offset used for the request.
Loading complete.