post https://yourorgsite.com/api/Party/_execute
Executes an operation of Party
With the Party service, you can perform the following operations on the execute endpoint:
- AddOrganizationAdministrator
- AddressUpdate
- FindByAlternateId
- FindByEmail
- FindByMatch
AddOrganizationAdministrator
BODY PARAMS:
{
"$type": "Asi.Soa.Membership.DataContracts.AddOrganizationAdministratorRequest, Asi.Contracts",
"EntityTypeName": "Party",
"OperationName": "AddOrganizationAdministrator",
"OrganizationPartyId": "string value",
"AdministratorPartyId": "string value",
"SetAdministratorPrimaryOrganizationIfBlank": false
}
AddressUpdate
BODY PARAMS:
{
"$type": "Asi.Soa.Membership.DataContracts.AddressUpdateRequest, Asi.Contracts",
"EntityTypeName": "Party",
"OperationName": "AddressUpdate",
"PartyId": "string value",
"AddressUpdated": {
"$type": "Asi.Soa.Membership.DataContracts.FullAddressData, Asi.Contracts"
}
}
FindByAlternateId
BODY PARAMS:
{
"$type": "Asi.Soa.Membership.DataContracts.PartyFindByAlternateIdRequest, Asi.Contracts",
"EntityTypeName": "Party",
"OperationName": "FindByAlternateId",
"AlternateId": {
"$type": "Asi.Soa.Core.DataContracts.AlternateIdData, Asi.Contracts"
}
}
FindByEmail
BODY PARAMS:
{
"$type": "Asi.Soa.Membership.DataContracts.PartyFindByEmailRequest, Asi.Contracts",
"EntityTypeName": "Party",
"OperationName": "FindByEmail",
"Email": "string value"
}
FindByMatch
BODY PARAMS:
{
"$type": "Asi.Soa.Membership.DataContracts.PartyMatchRequest, Asi.Contracts",
"EntityTypeName": "Party",
"OperationName": "FindByMatch",
"Party": {
"$type": "Asi.Soa.Membership.DataContracts.PartyData, Asi.Contracts"
},
"MaximumMatches": 8394
}