Ministry Sync Developer Resources
Menu

SelectCountries

Returns a list of Countries for a profile in Ministry Sync

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 SelectCountries

Expected Response Structure

<Root>
<Status>
<ErrorCode></ErrorCode>
<Description></Description>
</Status>
<Countries>
<Country>
<ID></ID>
<Name></Name>
<Code></Code>
</Country>
</Countries>
</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 Country
Name string Country Name
Code string Two letter Country Code
Copyright © 2019 Ministry Sync. All rights reserved.