Pledge Drives

A pledge drive or collection of pledge drives are used in conjunction with funds

Notes ::

  • By passing in the content-type of application/help in the accept header or using the {format} parameter help from https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/{fundID}/pledgedrives, the API will return an html representation of the help documents for this resource (*authentication not required*)

Authentication

This method requires Authentication

Resource Structure

This resource conforms to the following XSD

Methods

Pledge Drives ::

  • list [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/{fundID}/pledgedrives
  • show [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}
  • new [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/New
  • edit [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}/Edit
  • create [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives
  • update [PUT] [POST(Low REST)] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}

Method: list [GET]

The list method will return all pledge drives tied to a fund.

Notes ::

  • By passing in the content-type of application/xsd in the accept header or using the {format} parameter xsd the API will return an xsd for 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/funds/{fundID}/pledgedrives.{format}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/{fundID}/pledgedrives?format={format}
    • [Header] Accept : {Content-type}

Sample Response ::

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/pledgedrives

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/pledgedrives
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 14:53:54 GMT
Content-Length: 856

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrives>
  <pledgeDrive json:Array="true" id="80" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80" oldID="">
    <name>Get in the Game</name>
    <startDate>2004-09-01T00:00:00</startDate>
    <endDate>2005-12-13T00:00:00</endDate>
    <goal>50000.0000</goal>
    <fund id="2309" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309">
      <name>General Fund</name>
      <subFund id="928" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/subfunds/928">
        <name>Get in the Game</name>
      </subFund>
    </fund>
    <isWebActive>false</isWebActive>
    <createdDate></createdDate>
    <createdByPerson id="" uri="" />
    <lastUpdatedDate>2009-08-24T15:56:33</lastUpdatedDate>
    <lastUpdatedByPerson id="" uri="" />
  </pledgeDrive>
</pledgeDrives>

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/pledgedrives.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/funds/2309/pledgedrives.json
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 14:57:47 GMT
Content-Length: 655

{
   "pledgeDrives":{
      "pledgeDrive":[
         {
            "@array":"true",
            "@id":"80",
            "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80",
            "@oldID":"",
            "name":"Get in the Game",
            "startDate":"2004-09-01T00:00:00",
            "endDate":"2005-12-13T00:00:00",
            "goal":"50000.0000",
            "fund":{
               "@id":"2309",
               "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309",
               "name":"General Fund",
               "subFund":{
                  "@id":"928",
                  "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/subfunds/928",
                  "name":"Get in the Game"
               }
            },
            "isWebActive":"false",
            "createdDate":null,
            "createdByPerson":{
               "@id":"",
               "@uri":""
            },
            "lastUpdatedDate":"2009-08-24T15:56:33",
            "lastUpdatedByPerson":{
               "@id":"",
               "@uri":""
            }
         }
      ]
   }
}

Method: show [GET]

The show method will return a single pledgeDrive for a given id.

Notes ::

  • By passing in the content-type of application/xsd in the accept header or using the {format} parameter xsd the API will return an xsd for 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/pledgedrives/{id}.{format}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}?format={format}
    • [Header] Accept : {Content-type}
  • {id}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}

Sample Response ::

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 17:40:17 GMT
Content-Length: 776

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="80" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80" oldID="">
  <name>Get in the Game</name>
  <startDate>2004-09-01T00:00:00</startDate>
  <endDate>2005-12-13T00:00:00</endDate>
  <goal>50000.0000</goal>
  <fund id="2309" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309">
    <name>General Fund</name>
    <subFund id="928" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/subfunds/928">
      <name>Get in the Game</name>
    </subFund>
  </fund>
  <isWebActive>false</isWebActive>
  <createdDate></createdDate>
  <createdByPerson id="" uri="" />
  <lastUpdatedDate>2009-08-24T15:56:33</lastUpdatedDate>
  <lastUpdatedByPerson id="" uri="" />
</pledgeDrive>

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80.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/pledgedrives/80.json
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 17:42:30 GMT
Content-Length: 620

{
   "pledgeDrive":{
      "@id":"80",
      "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80",
      "@oldID":"",
      "name":"Get in the Game",
      "startDate":"2004-09-01T00:00:00",
      "endDate":"2005-12-13T00:00:00",
      "goal":"50000.0000",
      "fund":{
         "@id":"2309",
         "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309",
         "name":"General Fund",
         "subFund":{
            "@id":"928",
            "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/subfunds/928",
            "name":"Get in the Game"
         }
      },
      "isWebActive":"false",
      "createdDate":null,
      "createdByPerson":{
         "@id":"",
         "@uri":""
      },
      "lastUpdatedDate":"2009-08-24T15:56:33",
      "lastUpdatedByPerson":{
         "@id":"",
         "@uri":""
      }
   }
}

Method: edit [GET]

The edit method will return a single pledge drive 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/pledgedrives/{id}/edit.{format}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}/edit?format={format}
    • [Header] Accept : {Content-type}
  • {id}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}/edit

Sample Response ::

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80/edit

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80/edit
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 17:47:57 GMT
Content-Length: 776

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="80" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80" oldID="">
  <name>Get in the Game</name>
  <startDate>2004-09-01T00:00:00</startDate>
  <endDate>2005-12-13T00:00:00</endDate>
  <goal>50000.0000</goal>
  <fund id="2309" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309">
    <name>General Fund</name>
    <subFund id="928" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/subfunds/928">
      <name>Get in the Game</name>
    </subFund>
  </fund>
  <isWebActive>false</isWebActive>
  <createdDate></createdDate>
  <createdByPerson id="" uri="" />
  <lastUpdatedDate>2009-08-24T15:56:33</lastUpdatedDate>
  <lastUpdatedByPerson id="" uri="" />
</pledgeDrive>

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/27/edit.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/pledgedrives/80/edit.json
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 17:50:30 GMT
Content-Length: 620

{
   "pledgeDrive":{
      "@id":"80",
      "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/80",
      "@oldID":"",
      "name":"Get in the Game",
      "startDate":"2004-09-01T00:00:00",
      "endDate":"2005-12-13T00:00:00",
      "goal":"50000.0000",
      "fund":{
         "@id":"2309",
         "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309",
         "name":"General Fund",
         "subFund":{
            "@id":"928",
            "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309/subfunds/928",
            "name":"Get in the Game"
         }
      },
      "isWebActive":"false",
      "createdDate":null,
      "createdByPerson":{
         "@id":"",
         "@uri":""
      },
      "lastUpdatedDate":"2009-08-24T15:56:33",
      "lastUpdatedByPerson":{
         "@id":"",
         "@uri":""
      }
   }
}

Method: new [GET]

The new method will return a single pledge drive. The purpose of the new method is to retrieve an empty resource with the proper structure.

Content-types ::

  • application/json
  • application/xml
  • application/help

Format ::

  • json
  • xml
  • help

Parameters ::

  • {format}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/new.{format}
    • [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/new?format={format}
    • [Header] Accept : {Content-type}

Sample Response ::

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/new

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 17:52:47 GMT
Content-Length: 475

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="" uri="" oldID="">
  <name></name>
  <startDate></startDate>
  <endDate></endDate>
  <goal></goal>
  <fund id="" uri="">
    <name></name>
    <subFund id="" uri="">
      <name></name>
    </subFund>
  </fund>
  <isWebActive>false</isWebActive>
  <createdDate></createdDate>
  <createdByPerson id="" uri="" />
  <lastUpdatedDate></lastUpdatedDate>
  <lastUpdatedByPerson id="" uri="" />
</pledgeDrive>

Given: [GET] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/new.json

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 17:53:28 GMT
Content-Length: 333

{
   "pledgeDrive":{
      "@id":"",
      "@uri":"",
      "@oldID":"",
      "name":null,
      "startDate":null,
      "endDate":null,
      "goal":null,
      "fund":{
         "@id":"",
         "@uri":"",
         "name":null,
         "subFund":{
            "@id":"",
            "@uri":"",
            "name":null
         }
      },
      "isWebActive":"false",
      "createdDate":null,
      "createdByPerson":{
         "@id":"",
         "@uri":""
      },
      "lastUpdatedDate":null,
      "lastUpdatedByPerson":{
         "@id":"",
         "@uri":""
      }
   }
}

Method: create [POST]

The create method will create a single pledge drive.

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/pledgedrives.{format}
    • [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives?format={format}
    • [Header] Accept : {Content-type}

Required Fields ::

  • name
  • fund/@id
  • goal

Sample Response ::

Given: [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives

Request body:

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="" uri="" oldID="">
     <name>Ryan's API Pledge Drive: XML</name>
     <startDate></startDate>
     <endDate></endDate>
     <goal>1906</goal>
     <fund id="2309" uri="">
       <name></name>
       <subFund id="" uri="">
         <name></name>
       </subFund>
     </fund>
     <isWebActive>false</isWebActive>
     <createdDate></createdDate>
     <createdByPerson id="" uri="" />
     <lastUpdatedDate></lastUpdatedDate>
     <lastUpdatedByPerson id="" uri="" />
</pledgeDrive>

Response:

HTTP/1.1 201 Created
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4008
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 01 Oct 2010 22:00:54 GMT
Content-Length: 786

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="4008" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4008" oldID="">
  <name>Ryan's API Pledge Drive: XML</name>
  <startDate></startDate>
  <endDate></endDate>
  <goal>1906.0000</goal>
  <fund id="2309" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309">
    <name>General Fund</name>
    <subFund id="" uri="">
      <name></name>
    </subFund>
  </fund>
  <isWebActive>false</isWebActive>
  <createdDate>2010-10-01T17:00:50</createdDate>
  <createdByPerson id="1999191" uri="http://demo.fellowshiponeapi.local/v1/people/1999191" />
  <lastUpdatedDate></lastUpdatedDate>
  <lastUpdatedByPerson id="1999191" uri="http://demo.fellowshiponeapi.local/v1/people/1999191" />
</pledgeDrive>

Given: [POST] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives.json

Request body:

{
    "pledgeDrive":{
        "@id":"",
        "@uri":"",
        "@oldID":"",
        "name":"Ryan's API Pledge Drive: JSON",
        "startDate":null,
        "endDate":null,
        "goal":2000,
        "fund":{
            "@id":"2309",
            "@uri":"",
            "name":null,
            "subFund":{
                "@id":"",
                "@uri":"",
                "name":null                        
         }                   
      },
        "isWebActive":"false",
        "createdDate":null,
        "createdByPerson":{
            "@id":"",
            "@uri":""                   
      },
        "lastUpdatedDate":null,
        "lastUpdatedByPerson":{
            "@id":"",
            "@uri":""                   
      }            
   }       
}

Response:

HTTP/1.1 201 Created
Cache-Control: private
Content-Type: application/json; charset=utf-8
Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives.json/4009
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 04 Oct 2010 14:38:15 GMT
Content-Length: 637

{
   "pledgeDrive":{
      "@id":"4009",
      "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4009",
      "@oldID":"",
      "name":"Ryan's API Pledge Drive: JSON",
      "startDate":null,
      "endDate":null,
      "goal":"2000.0000",
      "fund":{
         "@id":"2309",
         "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309",
         "name":"General Fund",
         "subFund":{
            "@id":"",
            "@uri":"",
            "name":null
         }
      },
      "isWebActive":"false",
      "createdDate":"2010-10-04T09:38:14",
      "createdByPerson":{
         "@id":"1999191",
         "@uri":"http://demo.fellowshiponeapi.local/v1/people/1999191"
      },
      "lastUpdatedDate":null,
      "lastUpdatedByPerson":{
         "@id":"1999191",
         "@uri":"http://demo.fellowshiponeapi.local/v1/people/1999191"
      }
   }
}

Method: update [PUT] [POST (Low REST)]

The update method will update a single pledge drive.

Content-types ::

  • application/json
  • application/xml

Format ::

  • json
  • xml

Parameters ::

  • {format}
    • [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}.{format}
    • [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}?format={format}
    • [Header] Accept : {Content-type}
  • {id}
    • [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/{id}

Required Fields ::

  • pledgedrive/@id
  • name
  • fund/@id
  • goal

Sample Response ::

Given: [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4008

Request body:

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="4008" uri="" oldID="">
     <name>Ryan's API Pledge Drive: XML (Update)</name>
     <startDate></startDate>
     <endDate></endDate>
     <goal>1906</goal>
     <fund id="2309" uri="">
       <name></name>
       <subFund id="" uri="">
         <name></name>
       </subFund>
     </fund>
     <isWebActive>false</isWebActive>
     <createdDate></createdDate>
     <createdByPerson id="" uri="" />
     <lastUpdatedDate></lastUpdatedDate>
     <lastUpdatedByPerson id="" uri="" />
</pledgeDrive>

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/xml; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4008
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 04 Oct 2010 14:54:07 GMT
Content-Length: 814

<?xml version="1.0" encoding="utf-8"?>
<pledgeDrive id="4008" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4008" oldID="">
  <name>Ryan's API Pledge Drive: XML (Update)</name>
  <startDate></startDate>
  <endDate></endDate>
  <goal>1906.0000</goal>
  <fund id="2309" uri="https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309">
    <name>General Fund</name>
    <subFund id="" uri="">
      <name></name>
    </subFund>
  </fund>
  <isWebActive>false</isWebActive>
  <createdDate>2010-10-01T17:00:50</createdDate>
  <createdByPerson id="1999191" uri="http://demo.fellowshiponeapi.local/v1/people/1999191" />
  <lastUpdatedDate>2010-10-04T09:54:07</lastUpdatedDate>
  <lastUpdatedByPerson id="1999191" uri="http://demo.fellowshiponeapi.local/v1/people/1999191" />
</pledgeDrive>

Given: [PUT] https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4009.json

Request body:

{
"pledgeDrive":{
    "@id":"",
    "@uri":"",
    "@oldID":"",
    "name":"Ryan's API Pledge Drive: JSON (Update)",
    "startDate":null,
    "endDate":null,
    "goal":2000,
    "fund":{
        "@id":"2309",
        "@uri":"",
        "name":null,
        "subFund":{
            "@id":"",
            "@uri":"",
            "name":null                        
     }                   
  },
    "isWebActive":"false",
    "createdDate":null,
    "createdByPerson":{
        "@id":"",
        "@uri":""                   
  },
    "lastUpdatedDate":null,
    "lastUpdatedByPerson":{
        "@id":"",
        "@uri":""                   
  }            

}
}

Response:

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Location: https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4009.json
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 1.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 04 Oct 2010 14:56:17 GMT
Content-Length: 663

{
   "pledgeDrive":{
      "@id":"4009",
      "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/pledgedrives/4009",
      "@oldID":"",
      "name":"Ryan's API Pledge Drive: JSON (Update)",
      "startDate":null,
      "endDate":null,
      "goal":"2000.0000",
      "fund":{
         "@id":"2309",
         "@uri":"https://CHURCHCODE.fellowshiponeapi.com/giving/v1/funds/2309",
         "name":"General Fund",
         "subFund":{
            "@id":"",
            "@uri":"",
            "name":null
         }
      },
      "isWebActive":"false",
      "createdDate":"2010-10-04T09:38:14",
      "createdByPerson":{
         "@id":"1999191",
         "@uri":"http://demo.fellowshiponeapi.local/v1/people/1999191"
      },
      "lastUpdatedDate":"2010-10-04T09:56:18",
      "lastUpdatedByPerson":{
         "@id":"1999191",
         "@uri":"http://demo.fellowshiponeapi.local/v1/people/1999191"
      }
   }
}