Fellowship One REST API

Requirement Statuses

A requirement type specifies whether the requirement is for an Individual or an Activity.

Authentication

This method requires Authentication

Resource Structure

This resource conforms to the following XSD

Methods

Members ::

Method: list [GET]

The list method will return a list of requirementStatuses for the church.

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 06 Dec 2010 19:24:56 GMT
Content-Length: 4118

<?xml version="1.0" encoding="utf-8"?>
<requirementStatuses>
	<requirementStatus json:Array="true" id="1" uri="https://churchcode.fellowshiponeapi.com/v1/Requirements/RequirementStatuses/1">
		<name>Pending</name>
	</requirementStatus>
	<requirementStatus json:Array="true" id="2" uri="https://churchcode.fellowshiponeapi.com/v1/Requirements/RequirementStatuses/2">
		...	
</requirementStatuses>

Sample Response ::

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses.json
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Mon, 06 Dec 2010 19:27:12 GMT
Content-Length: 3429

{
   "requirementStatuses":{
	  "requirementStatus":[
		 {
			"@id":"1",
			"@uri":"https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses/1",
			"name":"Pending"
		 },
		 ...
	  ]
   }
}

Method: show [GET]

The show keyword will return a single requirementStatus with the given id.

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses/1

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses/1
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 07 Dec 2010 16:24:43 GMT
Content-Length: 565

<?xml version="1.0" encoding="utf-8"?>
<requirementStatus id="1" uri="https://churchcode.fellowshiponeapi.com/v1/Requirements/RequirementStatuses/1">
	<name>Pending</name>
</requirementStatus>

Sample Response ::

Given: [GET] https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses/1.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses/1.json
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 07 Dec 2010 16:25:24 GMT
Content-Length: 478

{
   "requirementStatus":{
	  "@id":"1",
	  "@uri":"https://churchcode.fellowshiponeapi.com/v1/requirements/requirementStatuses/1",
	  "name":"Pending"
   }
}