ClubManager.Api

<back to all web services

CustomAttributeService.SaveAttributesRequest

Requires Authentication
The following routes are available for this service:
POST,GET/api/CustomAttribute/SaveAttributes

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/CustomAttribute/SaveAttributes HTTP/1.1 
Host: api.clubmanagercentral.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<CustomAttributeService.SaveAttributesRequest 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>
  <Id>0</Id>
</CustomAttributeService.SaveAttributesRequest>