POST,GET | /api/CustomAttribute/ValidateAttributes |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/CustomAttribute/ValidateAttributes HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CustomAttributeService.ValidateAttributesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services">
<CustomAttributeValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/ClubManager.Interfaces.Models.CustomAttribute">
<d2p1:CustomAttributeValue>
<d2p1:CustomAttributeId>0</d2p1:CustomAttributeId>
<d2p1:CustomAttributeValueId>0</d2p1:CustomAttributeValueId>
<d2p1:InstanceId>0</d2p1:InstanceId>
<d2p1:ReadOnly>false</d2p1:ReadOnly>
<d2p1:StoredValue>String</d2p1:StoredValue>
<d2p1:TypeName>String</d2p1:TypeName>
</d2p1:CustomAttributeValue>
</CustomAttributeValues>
<GroupName>String</GroupName>
<Id>0</Id>
<Target>Member</Target>
</CustomAttributeService.ValidateAttributesRequest>