Params

Param name Description
id
required

ID for KOUCC church

Validations:

  • Must be a number.

Returns

Code: 200

Description:

Specified KOUCC church record

Param name Description
data
required

Single KOUCC church

Validations:

  • Must be a Hash

data[id]
required

ID of the KOUCC church

Validations:

  • Must be a number.

data[type]
required

Type of the resources

Validations:

  • Must be a String

data[attributes]
required

Attributes of the KOUCC church

Validations:

  • Must be a Hash

data[attributes][name]
required

KOUCC church name

Validations:

  • Must be a String

data[attributes][church_id]
required

KOUCC church id

Validations:

  • Must be a String

data[attributes][address1]
required

KOUCC church address 1

Validations:

  • Must be a String

data[attributes][address2]
required

KOUCC church address 2

Validations:

  • Must be a String

data[attributes][address3]
required

KOUCC church address 3

Validations:

  • Must be a String

data[attributes][city]
required

KOUCC church city

Validations:

  • Must be a String

data[attributes][state]
required

KOUCC church state

Validations:

  • Must be a String

data[attributes][zip]
required

KOUCC church zip

Validations:

  • Must be a String

data[attributes][phone_number]
required

KOUCC church phone number

Validations:

  • Must be a String

data[attributes][email_address]
required

KOUCC church email address

Validations:

  • Must be a String

data[attributes][website]
required

KOUCC church website

Validations:

  • Must be a String

data[attributes][pastor_name]
required

KOUCC church pastor name

Validations:

  • Must be a String

data[attributes][state]
required

KOUCC church state

Validations:

  • Must be a String

data[attributes][sortorder]
optional

Order of rendering

Validations:

  • Must be a number.

Code: 401

Description:

Unauthorized

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Code: 404

Description:

Not Found

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Code: 422

Description:

Unprocessable Entity

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Code: 500

Description:

Internal Server Error

Param name Description
errors
required

Errors returned by request

Validations:

  • Must be an Array of nested elements

errors[error]
required

Why the request failed

Validations:

  • Must be a String

errors[status]
required

HTTP response code

Validations:

  • Must be a Integer

Errors

Code Description
404 Data source query failed
422 Invalid parameter(s)
500 No connection to data source