REST Get Child Information V1

The REST call, Get Child Information, provides information on a child enrolled in the Child Development Sponsorship Program (CDSP).

The service returns JSON as default. The service will also return XML. This is controlled by the Accept parameter in the Message Header (i.e., for XML, it should be "Accept: application/xml" and for JSON, it should be "Accept: application/json").

CDSP connects one child with one sponsor to help that child develop into the extraordinary individual which God ordained.

Sample Request
Request Parameters
Response Parameters
XML Sample Successful Response
JSON Sample Successful Response
Sample Unsuccessful Responses
Error Response Codes

Sample Request

This is an example only.




Request Parameters

Name Description Required Data Type Constraints
ChildKey Code assigned by Compassion International when the child is registered in the Child Sponsorship Program. Yes String Fixed 9
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 Data Type Returned
ChildKey Code assigned by Compassion International when the child is registered in the Child Sponsorship Program. number
ChildName Name of the child. string

Child name abbreviated to 30 characters.

ChildPersonalName First name or nickname that is used to address the child. string
Gender Child's gender. string
BirthDate Child's birth date. string
Age Child's age. string
BirthDateKnownFlag Flag indicating if child actual birth date is known. boolean
StartDate Date that the first set of data for the CDSP Child was entered into the Compassion system. string
FieldStartDate The first Registration Date of the CDSP Child. It is recorded as the first day of the month the registration occurred. string
LastCaseStudyDate Date the last case study was completed for the child. string
LastCaseStudyModifiedDate Date a portion of the current case study was modified. string
OverAgeFlag Flag indicating if the child is allowed to continue in the program beyond the maximum age. boolean
SiblingFlag Flag indicating if the child has brothers or sisters in the CDSP Program. boolean
OrphanFlag Flag indicating if the child has brothers or sisters in the CDSP Program. boolean
HandicappedFlag Indicator identifying a child as handicapped. boolean
ChildAttendingSchoolFlag Flag indicating if the child is attending school. boolean

Equivalent US school grade level child is in.

Values can be:
K (Kindergarten)
P (Primary)
PK (pre-Kindergarten)

SchoolPerformance Performance of child in school - average, below average or above average. string
CDSPCompletionDate Date child is expected to complete the CDSP Program. string
CSPGraduationFlag Flag designating a beneficiary as being a CSP graduate. boolean
CSPEnrollDate string
CSPProject An Implementing Church Partner that is a CSP Implementor. string
SponsorFlag Flag indicating if the child is sponsored. boolean
ProgramStatus One of three states of a project: active, phase out, or terminated. string
ParticipationStopDate The date and time when the participation ended with Compassion. string
BeginWaitTime The date and time when the child first started waiting for sponsorship. string
ChildBasic Child Key string

Values can include:

  • Sunday School/Church
  • Bible Class
  • Camp
  • Youth Group
  • Vacation Bible School
  • Choir

There is also free text for other Christian activities.


Values can include:

  • Washing Clothes
  • Making Beds
  • Cleaning
  • Carries Water
  • Kitchen Help
  • Animal Care
  • Running Errands
  • Child Care
  • Buying/Selling in Market
  • Gathers Firewood
  • Gardening/Farming
  • Sewing
  • Teaching Others

There is also free text for other family duties.


Values can include:

  • Art/Drawing
  • Baseball
  • Basketball
  • Bicycling
  • Cars
  • Dolls
  • Group Games
  • Hide and Seek
  • Jacks
  • Jump Rope
  • Listening to Music
  • Marbles
  • Musical Instrument
  • Other Ball Games
  • Other Sports Or Hobbies
  • Ping Pong
  • Play House
  • Reading
  • Rolling a hoop
  • Running
  • Singing
  • Soccer/Footbal
  • Story Telling
  • Swimming
  • Volleyball
  • Walking

Values can include:

  • Epilepsy
  • Asthma
  • Polio
  • Developmentally Disabled
  • Speech: (values: Defective, Mute)
  • Hearing Left Ear: (values: Defective, Deaf)
  • Hearing Right Ear: (values: Defective, Deaf)
  • Sight Left Eye: (values: Defective, Blind)
  • Sight Right Eye: (values: Defective, Blind)
  • Regular Medical Treatmnt
  • Regular Medication
  • None

The following can have a value of (Crippled/Birth, Crippled/Disease, Crippled/Injury)

  • Left Leg due to:
  • Right Leg due to:
  • Left Foot due to:
  • Right Foot due to:
  • Left Arm due to:
  • Right Arm due to:
  • Left Hand due to:
  • Right Hand due to:
  • Spine due to:

There is also free text for diseases: example: Kidney diseases or Congenital Heart Diseases etc.


Values can include:

  • Child Attending School
  • Reason not attending school because: (free text)
  • School Performance: values: Below Average, Average, Above Average)
  • Child's best subject: (free text)
  • Completion Date: yyyymmdd
  • US School Equivalent: nn
  • Pre-School: nn
  • Kindergarten: nn
  • Primary School: nn
  • Middle School: nn
  • High School: nn
  • Vocational School Level: nn
  • Vocatl: Course of Study: (free text)
  • Apprenticeship Level: nn
  • Appren: Course of Study (free text)
  • College/University Level: nn
  • College: Course of Study: (free text)
  • Other School Level: nn
  • Other: Course of Study: (free text)
  • Future High School Date: yyyymmdd
  • Future HS Course Study: (free text)
  • Future Vocational Date: yyyymmdd
  • Future Voctl Course Study: (free text)
  • Future Bible School date: yyyymmdd
  • Future BS Course Study: (free text)
  • Future University Date: yyyymmdd
  • Future Univ. Course Study: (free text)
  • Future Other School Date: yyyymmdd
  • Future Other School Desc: (free text)
  • Future Other Course Study: (free text)

Values can include:

  • Mother
  • Father
  • Uncle
  • Aunt
  • Grandfather
  • Grandmother
  • Brother
  • Sister
  • Stepfather
  • Stepmother
  • Godfather
  • Godmother
  • Friends
  • Institutional Worker
  • Foster Parents
  • Other Relatives
NaturalParents Values can include:
  • Natural Parents together
  • Now Married
  • Were married, now separated by death
  • Now divorced or permanently separated
  • Were never married
  • Father alive
  • Father living with child

Values can include:

  • Father/MG employed
  • Father/MG at times employ
  • Father/MG unemployed
  • No Father nor M.Guardian
  • Father/MG is a Farmer
  • Father/MG sells in market
  • Father/MG church worker
  • Father/MG project worker
  • Father/MG is teacher
  • Father/MG is a laborer
  • Father/MG other employmnt (free text) [yes, employmnt is spelled this way in Compass and the DVL]
  • Mother/FG employed
  • Number Of Children Living At Home = n<
ParticipationID Id of the current participation number

XML Sample Successful Response

<ChildInformationDetail xmlns="">

JSON Sample Successful Response

  "participationID": [string]

Sample Unsuccessful Responses

XML Unsuccessful Response
  <Message>Invalid Child key. Child key must be 2 alpha characters followed by 7 numeric characters.</Message>


JSON Unsuccessful Response
  "error": {
     "id": "[string]"
      "message""Invalid Child key. Child key must be 2 alpha characters followed by 7 numeric characters."

Error Response Codes

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
HTTP 502 Bad Gateway
HTTP 503 API Maintenance / Service Unavailable
HTTP 504 Gateway Timeout


New comments are not being accepted at this time.

Docs Navigation