Fellowship One REST API

Sub Statuses

A sub status or collection of sub statuses are used for people.

Authentication

This method requires Authentication

Resource Structure

This resource conforms to the following XSD

Methods

Statuses ::

Method: list [GET]

The list method will return a list of sub statuses.

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Sun, 12 Apr 2009 05:48:42 GMT
Content-Length: 308

<?xml version="1.0" encoding="utf-8"?>
<subStatuses>
  <subStatus id="400" uri="https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400">
	<name>Letter</name>
  </subStatus>
  <subStatus id="4182" uri="https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/4182">
	<name>Dismember22</name>
  </subStatus>
</subStatuses>

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses.json
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 May 2009 18:55:48 GMT
Content-Length: 284

{
	"subStatuses": {
		"subStatus": [
			{
				"@array": "true",
				"@id": "400",
				"@uri": "https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400",
				"name": "Letter"
			},
			{
				"@array": "true",
				"@id": "4182",
				"@uri": "https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/4182",
				"name": "Dismember22"
			}
		]
	}
}

Method: show [GET]

The show method will return a single sub status for a given id.

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Sun, 12 Apr 2009 05:50:29 GMT
Content-Length: 152

<?xml version="1.0" encoding="utf-8"?>
<subStatus id="400" uri="https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400">
	<name>Letter</name>
</subStatus>

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400.json
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 May 2009 18:56:49 GMT
Content-Length: 120

{
	"subStatus": {
		"@id": "400",
		"@uri": "https://churchcode.fellowshiponeapi.com/v1/People/Statuses/1/SubStatuses/400",
		"name": "Letter"
	}
}