HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question
Back to All

Adding _ORG-ADMIN group member in 20.2.65.9955 - "Not a valid role."

Hi - trying to add an _ORG-ADMIN group member in 20.2.65.9955. The same payload works in 20.3.121.27, so I'm wondering if this approach just isn't supported in 2017.

{
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberData, Asi.Contracts",
"MembershipDetails": [
{
"$type": "Asi.Soa.Membership.DataContracts.GroupMemberDetailData, Asi.Contracts",
...
"Role": {
"Description": "Company Administrator",
"Name": "_ORG-ADMIN",
"RoleId": "RELATIONSHIP:_ORG-ADMIN"
}
...
...
}
],
"Group": {
"$type": "Asi.Soa.Membership.DataContracts.GroupSummaryData, Asi.Contracts",
...
"GroupId": "RELATIONSHIP-xxxxxx",
...
},
"Party": {
"$type": "Asi.Soa.Membership.DataContracts.PartySummaryData, Asi.Contracts",
...
"PartyId": "yyyyyy",
...
}
}

I'm getting this response:

{
"$type": "Asi.Soa.Core.DataContracts.ValidateResultsData, Asi.Contracts",
"IsValid": false,
"ValidationResults": {
"$type": "Asi.Soa.Core.DataContracts.ValidationResultsData, Asi.Contracts",
"Errors": {
"$type": "Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts",
"$values": [
{
"$type": "Asi.Soa.Core.DataContracts.ValidationResultData, Asi.Contracts",
"Message": "Not a valid role."
}
]
},
"Warnings": {
"$type": "Asi.Soa.Core.DataContracts.ValidationResultDataCollection, Asi.Contracts",
"$values": []
}
}
}

Is this supported in 2017? Thanks!

Contact us
Copyright © Advanced Solutions International, All rights reserved.