Denominations
A denomination or collection of denominations are used for people
.
Authentication
This method requires Authentication
Resource Structure
This resource conforms to the following XSD
Methods
Denominations ::
- list [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations
- show [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/{id}
Method: list [GET]
The list
method will return a list of denominations.
Notes ::
list
andshow
are the only available methods for this resource; this resource cannot be updated via the API- By passing in the
content-type
ofapplication/help
or using the {format} parameterhelp
the API will return an html representation of the help documents for this resource (authentication not required)
Content-types ::
- application/json
- application/xml
- application/help
Format ::
- json
- xml
- help
Parameters ::
- {format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations.{format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations?format={format}
- [Header] Accept : {Content-type}
Sample Response ::
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 28 Apr 2009 06:53:32 GMT
Content-Length: 5411
<?xml version="1.0" encoding="utf-8"?>
<denominations>
<denomination json:Array="true" id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/1">
<name>Assembly of God</name>
</denomination>
<denomination json:Array="true" id="2" uri="https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/2">
<name>Baptist</name>
</denomination>
<denomination json:Array="true" id="3" uri="https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/3">
<name>Bible</name>
</denomination>
<denomination json:Array="true" id="4" uri="https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/4">
<name>Buddhist</name>
</denomination>
...
<denominations>
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations.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/Denominations.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:10:53 GMT
Content-Length: 4149
{
"denominations": {
"denomination": [
{
"@array": "true",
"@id": "1",
"@uri": "https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/1",
"name": "Assembly of God"
},
{
"@array": "true",
"@id": "2",
"@uri": "https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/2",
"name": "Baptist"
},
{
"@array": "true",
"@id": "3",
"@uri": "https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/3",
"name": "Bible"
},
{
"@array": "true",
"@id": "4",
"@uri": "https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/4",
"name": "Buddhist"
},
{
"@array": "true",
"@id": "5",
"@uri": "https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/5",
"name": "Catholic"
},
...
]
}
}
Method: show [GET]
The show
method will return a single denomination for a given id
.
Notes ::
list
andshow
are the only available methods on this resource; this resource cannot be updated via the API- By passing in the
content-type
ofapplication/xsd
or using the {format} parameterxsd
the API will return anxsd
for a single version of this resource (authentication not required)
Content-types ::
- application/json
- application/xml
- application/xsd
Format ::
- json
- xml
- xsd
Parameters ::
- {format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/{id}.{format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/{id}?format={format}
- [Header] Accept : {Content-type}
- {id}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/{id}
Sample Response ::
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/117
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/7
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 06:05:59 GMT
Content-Length: 148
<?xml version="1.0" encoding="utf-8"?>
<denomination id="7" uri="https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/7">
<name>Christian</name>
</denomination>
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/2.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/Denominations/2.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:13:19 GMT
Content-Length: 111
{
"denomination": {
"@id": "2",
"@uri": "https://CHURCHCODE.fellowshiponeapi.com/v1/People/Denominations/2",
"name": "Baptist"
}
}