POST api/cliente/associarcanal

Associa o Id do cliente de um determinado canal ao Id do cliente na nuvem.

Request Information

URI Parameters

None.

Body Parameters

AssociarClienteCanalBindingModel
NameDescriptionTypeAdditional information
EntityCanalId

string

None.

CanalId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityCanalId": "sample string 1",
  "CanalId": 2
}

application/xml, text/xml

Sample:
<AssociarClienteCanalBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
  <CanalId>2</CanalId>
  <EntityCanalId>sample string 1</EntityCanalId>
</AssociarClienteCanalBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AssociarClienteCanalResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AssociarClienteCanalResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Succeeded>true</Succeeded>
</AssociarClienteCanalResult>