Ministry Sync Developer Resources
Menu
Xml Api / Actions / Select Churches

SelectChurches

Returns a list of Churches in a Ministry Sync account

POST https://secure.ministrysync.com/ministrysync/api/post.php

POST Parameters

Param Length Type Required Description
APIUsername 36 string Yes Assigned by Ministry Sync
APIPassword 36 string Yes Assigned by Ministry Sync
APIKey 36 string Yes Assigned by Ministry Sync
Action 36 string Yes SelectChurches

Expected Response Structure

<Root>
<Status>
<ErrorCode></ErrorCode>
<Description></Description>
</Status>
<Churches>
<Church>
<ID></ID>
<Name></Name>
<Pastor></Pastor>
<IsPartner></IsPartner>
<ContactPersonID></ContactPersonID>
<Phone></Phone>
<Website></Website>
<Address1></Address1>
<Address2></Address2>
<StateID></StateID>
<PostalCode></PostalCode>
<StateName></StateName>
<Abbreviation></Abbreviation>
<CountryID></CountryID>
<CountryName></CountryName>
</Church>
</Churches>
</Root>

Possible Error Values

Error Code	Description
0 Success
-1000 Invalid Login Credentials
-1001 Invalid Action

Field Definitions

Field Name Type Description
ID int Unique ID of Church
Name string Church Name
Pastor string Church Paster Name
IsPartner int 0 = No. 1 = Yes.
ContactPersonID int Church Contract Person ID. Use "SelectPerson" to get person data.
Phone string Church Phone Number
Website string Church Website URl
Address1 string Church Address 1
Address2 string Church Address 2
City string Church City
StateID int Church State ID. Use Select States to get a complete list of available states.
PostalCode string Church Postal Code
StateName string Church State Name
Abbreviation string Church State Abbreviation
CountryID int Church Country ID. Use Select Countries to get a complete list of available countries.
CountryName string Church Country Name
Copyright © 2019 Ministry Sync. All rights reserved.