Go-to-Light Service 3.1.1.1906 - 90 - API License to GTL Cloud

<back to all web services

UpdateColorAssigment

Requires Authentication
The following routes are available for this service:
All Verbs/UpdateColorAssigment
UpdateColorAssigment Parameters:
NameParameterData TypeRequiredDescription
ColorAssigmentsqueryList<ColorAssigment>YesList of ColorAssigment to update in database
ColorAssigment Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
ColorformstringNo
ExclusivityformboolNo
ExclusiveOwnersformstringNo

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 /UpdateColorAssigment HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateColorAssigment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
  <ColorAssigments xmlns:d2p1="http://schemas.datacontract.org/2004/07/GoToLightAPI.Entities">
    <d2p1:ColorAssigment>
      <d2p1:Color>String</d2p1:Color>
      <d2p1:ExclusiveOwners>String</d2p1:ExclusiveOwners>
      <d2p1:Exclusivity>false</d2p1:Exclusivity>
      <d2p1:ID>0</d2p1:ID>
    </d2p1:ColorAssigment>
  </ColorAssigments>
</UpdateColorAssigment>