Batches
A batch is used for contribution receipts. This resource does not contain delete method.
Authentication
This method requires Authentication
Resource Structure
This resource conforms to the following XSD
Methods
Batches::
- search [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search?{parameters}
- show [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}
- new [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/New
- edit [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}/edit
- create [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches
- update [PUT] [POST(Low REST)] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}
Method: search [GET]
The search keyword will return a collection of batches for the parameters provided.
Notes ::
- Search by batch name: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search?searchFor=test%20batch&batchTypeID=1
- All values passed in via searchFor must be url encoded (ex: Test Batch needs to be Test%20Batch)
- wild card parameters will be used to search for partial matches for passed SearchFor value
- batchTypeID is always required
- Search by batch status: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search?batchStatusID=1&batchTypeID=1
- batchTypeID is always required
- Search by batch type: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search?batchTypeID=1
- Search by lastupdatedDate: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search?lastupdatedDate=2015-01-01&batchTypeID=1
- lastupdatedDate = will return all records where the last update date is greater than or equal to the parameter passed to the API. The results will also be sorted by the lastUpdatedDate in ascending order.
- By passing in the
content-typeofapplication/xsdin theacceptheader or using the {format} parameterxsdthe API will return anxsdfor a single version of this resource (authentication not required) - If the
recordsPerPageparameter is not used or its value is less than 1, the API will default the parameter to 20 - If the
recordsPerPageparameter's value is less than 10, the API will default the parameter to 10 - If the
pageparameter is not used or its value is less than 1, the API will default the parameter to 1
Content-types ::
- application/json
- application/xml
- application/xsd
- application/help
Format ::
- json
- xml
- xsd
- help
Parameters ::
- {format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches.{format}?{search parameters}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches?format={format}&{search parameters}
- [Header] Accept : {Content-type}
- {search parameters}
- searchFor = Name of the batch you are searching for
- ex. searchfor=test%2batch
- searchFor = Name of the batch you are searching for
Sample Response ::
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 12 Apr 2010 17:47:11 GMT
Content-Length: 5652
<?xml version="1.0" encoding="utf-8"?>
<batches count="20" pageNumber="1" totalRecords="5307" additionalPages="265">
<batch json:Array="true" id="150174" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174" oldID="">
<name>0022904.4.kli.01</name>
<amount>1500</amount>
<createdDate></createdDate>
<lastUpdatedDate>2010-04-01T09:54:27</lastUpdatedDate>
</batch>
<batch json:Array="true" id="149667" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/149667" oldID="">
<name>0100404.4.ldc.05</name>
<amount>545</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate></createdDate>
<lastUpdatedDate>2010-04-01T09:54:27</lastUpdatedDate>
</batch>
<batch json:Array="true" id="150320" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150320" oldID="">
<name>0101001</name>
<amount>10000</amount>
<createdDate></createdDate>
<lastUpdatedDate>2010-04-01T09:54:27</lastUpdatedDate>
</batch>
<batch json:Array="true" id="150321" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150321" oldID="">
<name>0101002</name>
<amount>10000</amount>
<createdDate></createdDate>
<lastUpdatedDate>2010-04-01T09:54:27</lastUpdatedDate>
</batch>
...
</batches>
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search.json
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/search.json
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 18:51:01 GMT
Content-Length: 4366
{
"batches":
{
"@count":"20",
"@pageNumber":"1",
"@totalRecords":"5307",
"@additionalPages":"265",
"batch":
[
{
"@array":"true",
"@id":"150174",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174",
"@oldID":"",
"name":"0022904.4.kli.01",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"amount":"1500",
"createdDate":null,
"lastUpdatedDate":"2010-04-01T09:54:27"
},
{
"@array":"true",
"@id":"149667",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/149667",
"@oldID":"",
"name":"0100404.4.ldc.05",
"amount":"545",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":"2010-04-01T09:54:27"
},
{
"@array":"true",
"@id":"150320",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150320",
"@oldID":"",
"name":"0101001",
"amount":"10000",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":"2010-04-01T09:54:27"
},
{
"@array":"true",
"@id":"150321",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150321",
"@oldID":"",
"name":"0101002",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"amount":"10000",
"createdDate":null,
"lastUpdatedDate":"2010-04-01T09:54:27"
},
...
{
"@array":"true",
"@id":"147066",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/147066",
"@oldID":"",
"name":"010303.o.as.02",
"amount":"1500",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":"2010-04-01T09:54:27"
}
]
}
}
Method: show [GET]
The show keyword will return a single batch with the given id.
Notes ::
- By passing in the
content-typeofapplication/xsdin theacceptheader or using the {format} parameterxsdthe API will return anxsdfor a single version of this resource (authentication not required)
Content-types ::
- application/json
- application/xml
- application/xsd
- application/help
Format ::
- json
- xml
- xsd
- help
Parameters ::
- {format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}.{format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}?format={format}
- [Header] Accept : {Content-type}
- {id}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}
Sample Response ::
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1334930
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 12 Apr 2010 18:07:34 GMT
Content-Length: 284
<?xml version="1.0" encoding="utf-8"?>
<batch id="150174" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174" oldID="">
<name>0022904.4.kli.01</name>
<amount>1500</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate></createdDate>
<lastUpdatedDate>2010-04-01T09:54:27</lastUpdatedDate>
</batch>
Method: new [GET]
The new keyword will return a single batch. The purpose of the new method is to retrieve an empty resource with the proper structure.
Notes ::
- By passing in the
content-typeofapplication/xsdin theacceptheader or using the {format} parameterxsdthe API will return anxsdfor a single version of this resource (authentication not required)
Content-types ::
- application/json
- application/xml
- application/xsd
- application/help
Format ::
- json
- xml
- xsd
- help
Parameters ::
- {format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/new.{format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/new?format={format}
- [Header] Accept : {Content-type}
Sample Response ::
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/new
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 15:07:03 GMT
Content-Length: 211
<?xml version="1.0" encoding="utf-8"?>
<batch id="" uri="" oldID="">
<name></name>
<amount></amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate></createdDate>
<lastUpdatedDate></lastUpdatedDate>
</batch>
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/new.json
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 18:48:40 GMT
Content-Length: 132
{
"batch":
{
"@id":"",
"@uri":"",
"@oldID":"",
"name":null,
"amount":null,
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":null
}
}
Method: edit [GET]
The edit method will return a single batch for a given id. The purpose of the edit method is to retrieve a resource in its most recent condition with its latest values.
Content-types ::
- application/json
- application/xml
- application/help
Format ::
- json
- xml
- help
Parameters ::
- {format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}/edit.{format}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}/edit?format={format}
- [Header] Accept : {Content-type}
- {id}
- [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}/edit
Sample Response ::
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174/edit
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 19:37:20 GMT
Content-Length: 291
<?xml version="1.0" encoding="utf-8"?>
<batch id="150174" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174" oldID="">
<name>0022904.4.kli.01</name>
<amount>1500</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate></createdDate>
<lastUpdatedDate>2010-04-01T09:54:27</lastUpdatedDate>
</batch>
Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174/edit.json
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 19:38:03 GMT
Content-Length: 208
{
"batch":
{
"@id":"150174",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/150174",
"@oldID":"",
"name":"0022904.4.kli.01",
"amount":"1500",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":"2010-04-01T09:54:27"
}
}
Method: create [POST]
The create method will create a single batch.
Notes ::
- This method will return a 201 - Created if successfully created
Content-types ::
- application/json
- application/xml
Format ::
- json
- xml
Parameters ::
- {format}
- [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches.{format}
- [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches?format={format}
- [Header] Accept : {Content-type}
Required Fields ::
- name
- amount
Sample Response ::
Given: [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches
Request body:
<?xml version="1.0" encoding="utf-8"?>
<batch id="" uri="" oldID="">
<name>A Batch to Remember/name>
<amount>1200</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate></createdDate>
<lastUpdatedDate></lastUpdatedDate>
</batch>
Response:
HTTP/1.1 201 Created
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518742
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 22:17:08 GMT
Content-Length: 296
<?xml version="1.0" encoding="utf-8"?>
<batch id="1518742" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518742" oldID="">
<name>A Batch to Remember</name>
<amount>1200</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate>2010-04-13T17:17:08</createdDate>
<lastUpdatedDate></lastUpdatedDate>
</batch>
Given: [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches.json
Request body:
{
"batch":
{
"@id":"",
"@uri":"",
"@oldID":"",
"name":"A Batch to Remember",
"amount":"1200",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":null
}
}
Response:
HTTP/1.1 201 Created
Cache-Control: private
Content-Type: application/json; charset=utf-8
Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches.json/1518743
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 22:18:58 GMT
Content-Length: 213
{
"batch":
{
"@id":"1518743",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518743",
"@oldID":"",
"name":"A Batch to Remember",
"amount":"1200",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":"2010-04-13T17:18:58",
"lastUpdatedDate":null
}
}
Method: update [PUT] [POST (Low REST)]
The update method will update a single batch.
Content-types ::
- application/json
- application/xml
Format ::
- json
- xml
Parameters ::
- {format}
- [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}.{format}
- [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}?format={format}
- [Header] Accept : {Content-type}
- {id}
- [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}
Required Fields ::
- batch id
- name
- amount
Sample Response ::
Given: [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}
Request body:
<?xml version="1.0" encoding="utf-8"?>
<batch id="1518742">
<name>A Batch to Remember II</name>
<amount>1400</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate></createdDate>
<lastUpdatedDate></lastUpdatedDate>
</batch>
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518742
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 22:45:44 GMT
Content-Length: 318
<?xml version="1.0" encoding="utf-8"?>
<batch id="1518742" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518742" oldID="">
<name>A Batch to Remember II</name>
<amount>1400</amount>
<batchType id="1" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1">
<name>Standard</name>
</batchType>
<batchStatus id="0" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0">
<name>Not Applicable</name>
</batchStatus>
<createdDate>2010-04-13T17:17:08</createdDate>
<lastUpdatedDate>2010-04-13T17:45:44</lastUpdatedDate>
</batch>
Given: [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/{id}.json
Request body:
{
"batch":
{
"@id":"1518743",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518743",
"@oldID":"",
"name":"A Batch to Remember II",
"amount":"1400",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":null,
"lastUpdatedDate":null
}
}
Response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518743.json
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Tue, 13 Apr 2010 22:47:28 GMT
Content-Length: 233
{
"batch":
{
"@id":"1518743",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/1518743",
"@oldID":"",
"name":"A Batch to Remember II",
"amount":"1400",
"batchType":
{
"@id":"1",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchtypes/1",
"name":"Standard"
},
"batchStatus":
{
"@id":"0",
"@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/batches/batchstatuses/0",
"name":"Not Applicable"
},
"createdDate":"2010-04-13T17:18:58",
"lastUpdatedDate":"2010-04-13T17:47:28"
}
}