SOAP Get Program Implementor 201303

This service will be deprecated. The deprecation date has not been decided yet. Please use SOAP Get Program Implementor 201309

Note: This service is not available in our interactive API option.

The SOAP call Get Program Implementor 201303 provides information on specific CDSP and CSP organizations that partner with Compassion International to implement and administrate one or more ministry intervention programs designed to fulfill Compassion's mission of holistic child development and promote child advocacy.

CDSP is Compassion International's Child Development Sponsorship Program, which connects one child with one sponsor to help that child develop into the extraordinary individual which God ordained.

CSP is Compassion International's Child Survival Program, which equips the worldwide Church to respond to the cry of mothers on behalf of their babies by ensuring a healthy environment and a strong start in life for the poorest and most vulnerable. Using proven child survival strategies, caregivers and their families are equipped to nurture and disciple their children.

The programs provide the following through sponsorship:

  • Educational opportunities
  • Healthcare, supplemental nutrition, and health education
  • Life-skills training
  • A safe and loving environment in which to learn and play
  • The opportunity to hear the gospel of Jesus Christ and be discipled

Sample Request
Request Parameters
Response Parameters
Sample Successful Response
Sample Unsuccessful Response
Error Response Codes

Sample Request

This is an example only.

Action
http://services.ci.org/public/ci/programimplementor/2013/03/GetProgramImplementor
URL
Prod:    https://api2.compassion.com/ci.services/programimplementor/2013/03/getprogramimplementor?api_key=[string]
IPTest: https://api2.compassion.com/iptest/ci.services/programimplementor/2013/03/getprogramimplementor?api_key=[string]

XML
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">  
  <s:Header>    
    <ClientReferenceId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</ClientReferenceId>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetProgramImplementorRequest xmlns="http://schemas.ci.org/public/ci/services/programimplementor/2013/03/">
      <RequestCriteria SchemaVersion='1.0xmlns="http://schemas.ci.org/ci/services/common/2011/04/">
        <Criteria operator='And'>
          <Field name="ImplementorKeyLegacy" value="[string]" comparisonOperator="Equals"/>
        </Criteria>
      </RequestCriteria>
    </GetProgramImplementorRequest>
  </s:Body>
</s:Envelope>

Request Parameters

Name Description Required Data Type Constraints
ImplementorKeyLegacy Key identifying a CDSP or CSP Implementor. Yes String  
ProgramImplementorType Implementor or a CSP Implementor. If not specified, or if the word "All" is used, the search will include both program implementor types. Optional String Valid Values
CDSP | CSP | All
ClientReferenceId Uniquely represents the transaction in the client's system. Optional String Max 100
api_key Your Mashery supplied key for an application running Compassion International services. Yes String  

Response Parameters

Name Description
ImplementorKeyLegacy Key identifying a CDSP or CSP Implementor.
ProgramImplementorTypeCode Code indicating whether a Program Implementor is a CDSP Implementor or a CSP Implementor.
Name Implementor name.
StartDate Date partnership with the Implementor began.
LastReviewDate Date the last annual implementor information update was received.
Description Description of the implementing project.
LocalChurchPartnerId Key identifying the local church partner which is implementing the CSP or CDSP program.
OrganizationName Name of the local church partner.
ChurchServiceLanguages Language(s) used during a church service in the local church partner.
GPSCoordinateLatitudeHighPrecision High precision GPS latitude of the location of the local church partner.
GPSCoordinateLatitudeLowPrecision Low precision GPS latitude of the location of the local church partner.
GPSCoordinateLongitudeHighPrecision High precision GPS longitude of the location of the local church partner.
GPSCoordinateLongitudeLowPrecision Low precision GPS longitude of the location of the local church partner.
HIVCategory Code indicating if the local church partner is in an HIV/Aids infected area. Values can be "AFFTCD" or "NOTAFF".
MonthSchoolYearBegins Month school begins each year.
CountryDenomination Denomination of the country where the local church partner is located and with which the local church partner is affiliated.
WesternDenomination Denomination in the US or Global Partner(s) that is affiliated with the local church partner.
CommunityName Name of the community in which the local church partner resides.
ISOCountryName Name for a country as recorded by the International Organization for Standardization (ISO) in the ISO 3166-1 standard.
ISOCountryCode Two-character code assigned to a country by the International Organization for Standardization (ISO) as defined in the ISO 3166-1 standard.
CountryCommonName Common name of a country used by Compassion International.

Sample Successful Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <ClientReferenceId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">PubChldInfo_TC-002</ClientReferenceId>
    <SendingNode xmlns="http://schemas.ci.org/ci/services/common/2011/04/">PublicSimpleRequestReplySoapService</SendingNode>
    <MessageStreamId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</MessageStreamId>
    <EventSequenceNumber xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[number]</EventSequenceNumber>
    <RelatesTo xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</RelatesTo>
    <MessageId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</MessageId>
    <SendersAppName xmlns="http://schemas.ci.org/ci/services/common/2011/04/">PublicSimpleRequestReplySoapService</SendersAppName>

    <SendersName xmlns="http://schemas.ci.org/ci/services/common/2011/04/">CI\esbservice</SendersName>
    <SendersTrackingId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</SendersTrackingId>
  </s:Header>
  <s:Body>
    <GetProgramImplementorResponse ResponseCode="0" xmlns="http://schemas.ci.org/public/ci/services/programimplementor/2013/03/">
      <RequestCriteria SchemaVersion="1.0" xmlns="http://schemas.ci.org/ci/services/common/2011/04/" xmlns:eim="http://schemas.ci.org/ci/common/eim/2011/04/">
        <Criteria operator="And">
          <Field name="ImplementorKeyLegacy" value="[string]" comparisonOperator="Equals"/>
        </Criteria>
      </RequestCriteria>
      <ProgramImplementor>
        <ImplementorKeyLegacy>[string]</ImplementorKeyLegacy>
        <ProgramImplementorTypeCode>CDSP</ProgramImplementorTypeCode>
        <Name>[string]</Name>
        <StartDate>2008-03-01T00:00:00</StartDate>
        <LastReviewDate>2013-06-26T00:00:00</LastReviewDate>
        <Description>[string]</Description>
        <LocalChurchPartnerID>[number]</LocalChurchPartnerID>
        <OrganizationName>[string]</OrganizationName>
        <ChurchServiceLanguages>Bangla</ChurchServiceLanguages>
        <GPSCoordinateLatitudeHighPrecision>[number]</GPSCoordinateLatitudeHighPrecision>
        <GPSCoordinateLatitudeLowPrecision>[number]</GPSCoordinateLatitudeLowPrecision>
        <GPSCoordinateLongitudeHighPrecision>[number]</GPSCoordinateLongitudeHighPrecision>
        <GPSCoordinateLongitudeLowPrecision>[number]</GPSCoordinateLongitudeLowPrecision>
        <HIVCategory>N</HIVCategory>
        <MonthSchoolYearBegins>1</MonthSchoolYearBegins>
        <CountryDenomination>[string]</CountryDenomination>
        <WesternDenomination>[string]</WesternDenomination>
        <CommunityName>[string]</CommunityName>
        <ISOCountryName>Bangladesh</ISOCountryName>
        <ISOCountryCode>BD</ISOCountryCode>
        <CountryCommonName>Bangladesh</CountryCommonName>
      </ProgramImplementor>
    </GetProgramImplementorResponse>
  </s:Body>
</s:Envelope>

Sample Unsuccessful Response

The service operation will provide the following response when there are missing required parameters.
Exception Returned: (ResponseCode = "1", HTTP Status Code ="404")

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <ClientReferenceId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">PubChldInfo_TC-002</ClientReferenceId>
    <SendingNode xmlns="http://schemas.ci.org/ci/services/common/2011/04/">PublicSimpleRequestReplySoapService</SendingNode>
    <MessageStreamId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</MessageStreamId>
    <EventSequenceNumber xmlns="http://schemas.ci.org/ci/services/common/2011/04/">3</EventSequenceNumber>
    <SendersAppName xmlns="http://schemas.ci.org/ci/services/common/2011/04/">PublicSimpleRequestReplySoapService</SendersAppName>
    <RelatesTo xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</RelatesTo>
    <MessageId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</MessageId>
    <SendersName xmlns="http://schemas.ci.org/ci/services/common/2011/04/">NT AUTHORITY\SYSTEM</SendersName>
    <SendersTrackingId xmlns="http://schemas.ci.org/ci/services/common/2011/04/">[string]</SendersTrackingId>
  </s:Header>
  <s:Body>
    <GetProgramImplementorResponse ResponseCode="0xmlns="http://schemas.ci.org/public/ci/services/programimplementor/2013/03/">
      <RequestCriteria SchemaVersion="1.0xmlns="http://schemas.ci.org/ci/services/common/2011/04/" xmlns:eim="http://schemas.ci.org/ci/common/eim/2011/04/">
        <Criteria operator="And">
          <Field name="ImplementorKeyLegacyvalue="[string]comparisonOperator="Equals"/>
        </Criteria>
      </RequestCriteria>
        <ErrorResponse SchemaVersion="1.0" xmlns="http://schemas.ci.org/ci/services/common/2011/04/">
        <ErrorName>Validation Error</ErrorName>
        <DateTimestamp>2015-01-28T14:48:58.445796-07:00</DateTimestamp>
        <SendersAppName>PublicSimpleRequestReplySoapService</SendersAppName>
        <ServiceName>PublicSimpleRequestReplySoapService</ServiceName>
        <ErrorId>[guid]</ErrorId>
        <ErrorCode>4004</ErrorCode>
        <ErrorMessage>The MinLength of 'ImplementorKeyLegacy' is 5.</ErrorMessage>
      </ErrorResponse>
    </GetProgramImplementorResponse>
  </s:Body>
</s:Envelope>

Error Response Codes

For ResponseCode = 1, the table below indicates the HTTP error response and HTTP Error message.

HTTP Error Response HTTP Error Message
HTTP 400 Service Parameter Failure
HTTP 401 Not Authenticated / Authorized for Service Data
HTTP 403 Not Authorized
HTTP 403 Account Inactive
HTTP 403 Over Queries Per Second Limit
HTTP 403 Over Rate Limit
HTTP 403 Unknown Referrer
HTTP 404 Requested Resource Not Found
HTTP 408 Request Timeout
HTTP 414 Request URI Too Long
HTTP 500 Internal Server Error / Parameter Failure
HTTP 502 Bad Gateway
HTTP 503 API Maintenance / Service Unavailable
HTTP 504 Gateway Timeout

0 Comments

New comments are not being accepted at this time.

Docs Navigation