POST https://secure.ministrysync.com/ministrysync/api/post.php
| 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 | SelectStates |
| CountryID | 11 | int | no | Filter state list by Country ID. Without this field, it will return a complete list of every state in all countries |
<Root>
<Status>
<ErrorCode></ErrorCode>
<Description></Description>
</Status>
<States>
<State>
<ID></ID>
<Name></Name>
<Abbreviation></Abbreviation>
<CountryID></CountryID>
</State>
</States>
</Root>
Error Code Description
0 Success
-1000 Invalid Login Credentials
-1001 Invalid Action
| Field Name | Type | Description |
|---|---|---|
| ID | int | Unique ID of State |
| Name | string | Name of State |
| Abbreviation | string | Abbreviation of State |
| CountryID | int | Unique ID of Country. Use Select Countries to get a list of available countries. |
This page was helpful! 👍 This page needs help. 🛎
Thanks for your feedback.