Ministry Sync Developer Resources
Menu

SelectMaritalStatuses

Returns the available Marital Statuses for a Person 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 SelectMaritalStatuses

Expected Response Structure

<Root>
<Status>
<ErrorCode></ErrorCode>
<Description></Description>
</Status>
<MaritalStatuses>
<MaritalStatus>
<ID></ID>
<Name></Name>
</MaritalStatus>
</MaritalStatuses>
</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 Marital Status
Name string Name of Marital Status
Copyright © 2019 Ministry Sync. All rights reserved.