Fellowship One REST API

Contribution SubTypes

A contribution subtype or collection of contribution subtypes are used for 'contribution receipts'.

Notes ::

Authentication

This method requires Authentication

Resource Structure

This resource conforms to the following XSD

Methods

Contribution Types ::

Method: list [GET]

The list method will return a list of contribution subtypes.

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Length:	265 bytes
Content-Location: https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes
Content-Type: application/xml; charset=utf-8
Date: 2014 Jun 3 11:17:35
Server:	Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 3.0
X-Powered-By: ASP.NET

<?xml version="1.0" encoding="utf-8"?>
<contributionSubTypes>
  <contributionSubType json:Array="true" id="29" uri="https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/29">
	<name>Property</name>
  </contributionSubType>
  <contributionSubType json:Array="true" id="30" uri="https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/30">
	<name>Stocks or Bonds</name>
  </contributionSubType>
  <contributionSubType json:Array="true" id="31" uri="https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/31">
	<name>Vehicle</name>
  </contributionSubType>
</contributionSubTypes>

Given: [GET] https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Length: 182 bytes
Content-Location: https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes
Content-Type: application/json; charset=utf-8
Date: 2014 Jun 3 11:22:33
Server:	Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 3.0
X-Powered-By: ASP.NET

{
	"contributionSubTypes":{
	  "contributionSubType":[
	  {
		"@id":"29",
		"@uri":"https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/29",
		"name":"Property"
	  },
	  {
		"@id":"30",
		"@uri":"https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/30",
		"name":"Stocks or Bonds"
	  },
	  {
		"@id":"31",
		"@uri":"https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/31",
		"name":"Vehicle"
	  }
	]
  }
}

Method: show [GET]

The show method will return a single contribution subtype for a given id.

Notes ::

Content-types ::

Format ::

Parameters ::

Sample Response ::

Given: [GET] https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes/30

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Length: 182 bytes
Content-Location: https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes
Content-Type: application/xml; charset=utf-8
Date: 2014 Jun 3 11:22:33
Server:	Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 3.0
X-Powered-By: ASP.NET

<?xml version="1.0" encoding="utf-8"?>
<contributionSubType id="30" uri="https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/30">
  <name>Stocks or Bonds</name>
</contributionSubType>

Given: [GET] https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes/30.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Encoding: gzip
Content-Length: 182 bytes
Content-Location: https://demo.staging.fellowshiponeapi.com/giving/v1/contributiontypes/4/contributionsubtypes
Content-Type: application/json; charset=utf-8
Date: 2014 Jun 3 11:22:33
Server:	Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 3.0
X-Powered-By: ASP.NET

{
  "contributionSubType":{
	"@id":"30",
	"@uri":"https://demo.staging.fellowshiponeapi.com/giving/v1/contributionTypes/4/contributionsubtypes/30",
	"name":"Stocks or Bonds"
  }
}