POST api/v2/institucional/update
Request Information
URI Parameters
None.
Body Parameters
InstitucionalUpdateBindingModelName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
FacebookId | string |
None. |
|
string |
None. |
||
WebSite | string |
None. |
|
GooglePlus | string |
None. |
|
YouTube | string |
None. |
|
string |
None. |
||
Sobre | string |
None. |
|
Unidades | Collection of Unidade |
None. |
|
Lojas | string |
None. |
|
Lembrete | boolean |
None. |
|
News | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Version": "sample string 1", "FacebookId": "sample string 2", "Twitter": "sample string 3", "WebSite": "sample string 4", "GooglePlus": "sample string 5", "YouTube": "sample string 6", "WhatsApp": "sample string 7", "Sobre": "sample string 8", "Unidades": [ { "TenantId": "1be0d1d0-a1ec-480a-8f25-e5dee476ef1b", "Descricao": "sample string 2", "Endereco": { "EnderecoId": 1, "NomeEndereco": "sample string 2", "Endereco": "sample string 3", "Cidade": "sample string 4", "Estado": "sample string 5", "Cep": "sample string 6", "Numero": "sample string 7", "Bairro": "sample string 8", "Complemento": "sample string 9", "Latitude": "sample string 10", "Longitude": "sample string 11", "Distancia": "sample string 12", "Duracao": "sample string 13", "DistanciaValue": 14 }, "Filiais": [ { "EnderecoId": 1, "NomeEndereco": "sample string 2", "Endereco": "sample string 3", "Cidade": "sample string 4", "Estado": "sample string 5", "Cep": "sample string 6", "Numero": "sample string 7", "Bairro": "sample string 8", "Complemento": "sample string 9", "Latitude": "sample string 10", "Longitude": "sample string 11", "Distancia": "sample string 12", "Duracao": "sample string 13", "DistanciaValue": 14 }, { "EnderecoId": 1, "NomeEndereco": "sample string 2", "Endereco": "sample string 3", "Cidade": "sample string 4", "Estado": "sample string 5", "Cep": "sample string 6", "Numero": "sample string 7", "Bairro": "sample string 8", "Complemento": "sample string 9", "Latitude": "sample string 10", "Longitude": "sample string 11", "Distancia": "sample string 12", "Duracao": "sample string 13", "DistanciaValue": 14 } ], "DescrFiliais": [ { "Id": 1, "TpFarmacia": "sample string 2", "TenantId": "sample string 3", "SubClientId": "sample string 4", "CdFilial": "sample string 5", "Nome": "sample string 6", "TenantGroupId": "sample string 7", "EnderecoId": 8, "Ender": "sample string 9", "EndNr": "sample string 10", "Bairr": "sample string 11", "Munic": "sample string 12", "Estado": "sample string 13", "NrCep": "sample string 14", "Distancia": "sample string 15", "DistanciaOrdenar": 16.1 }, { "Id": 1, "TpFarmacia": "sample string 2", "TenantId": "sample string 3", "SubClientId": "sample string 4", "CdFilial": "sample string 5", "Nome": "sample string 6", "TenantGroupId": "sample string 7", "EnderecoId": 8, "Ender": "sample string 9", "EndNr": "sample string 10", "Bairr": "sample string 11", "Munic": "sample string 12", "Estado": "sample string 13", "NrCep": "sample string 14", "Distancia": "sample string 15", "DistanciaOrdenar": 16.1 } ], "Destino": "d39ebc40-99e9-4a5b-8327-ad836a6ab9da" }, { "TenantId": "1be0d1d0-a1ec-480a-8f25-e5dee476ef1b", "Descricao": "sample string 2", "Endereco": { "EnderecoId": 1, "NomeEndereco": "sample string 2", "Endereco": "sample string 3", "Cidade": "sample string 4", "Estado": "sample string 5", "Cep": "sample string 6", "Numero": "sample string 7", "Bairro": "sample string 8", "Complemento": "sample string 9", "Latitude": "sample string 10", "Longitude": "sample string 11", "Distancia": "sample string 12", "Duracao": "sample string 13", "DistanciaValue": 14 }, "Filiais": [ { "EnderecoId": 1, "NomeEndereco": "sample string 2", "Endereco": "sample string 3", "Cidade": "sample string 4", "Estado": "sample string 5", "Cep": "sample string 6", "Numero": "sample string 7", "Bairro": "sample string 8", "Complemento": "sample string 9", "Latitude": "sample string 10", "Longitude": "sample string 11", "Distancia": "sample string 12", "Duracao": "sample string 13", "DistanciaValue": 14 }, { "EnderecoId": 1, "NomeEndereco": "sample string 2", "Endereco": "sample string 3", "Cidade": "sample string 4", "Estado": "sample string 5", "Cep": "sample string 6", "Numero": "sample string 7", "Bairro": "sample string 8", "Complemento": "sample string 9", "Latitude": "sample string 10", "Longitude": "sample string 11", "Distancia": "sample string 12", "Duracao": "sample string 13", "DistanciaValue": 14 } ], "DescrFiliais": [ { "Id": 1, "TpFarmacia": "sample string 2", "TenantId": "sample string 3", "SubClientId": "sample string 4", "CdFilial": "sample string 5", "Nome": "sample string 6", "TenantGroupId": "sample string 7", "EnderecoId": 8, "Ender": "sample string 9", "EndNr": "sample string 10", "Bairr": "sample string 11", "Munic": "sample string 12", "Estado": "sample string 13", "NrCep": "sample string 14", "Distancia": "sample string 15", "DistanciaOrdenar": 16.1 }, { "Id": 1, "TpFarmacia": "sample string 2", "TenantId": "sample string 3", "SubClientId": "sample string 4", "CdFilial": "sample string 5", "Nome": "sample string 6", "TenantGroupId": "sample string 7", "EnderecoId": 8, "Ender": "sample string 9", "EndNr": "sample string 10", "Bairr": "sample string 11", "Munic": "sample string 12", "Estado": "sample string 13", "NrCep": "sample string 14", "Distancia": "sample string 15", "DistanciaOrdenar": 16.1 } ], "Destino": "d39ebc40-99e9-4a5b-8327-ad836a6ab9da" } ], "Lojas": "sample string 9", "Lembrete": true, "News": true }
application/xml, text/xml
Sample:
<InstitucionalUpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.BindingModels"> <FacebookId>sample string 2</FacebookId> <GooglePlus>sample string 5</GooglePlus> <Lembrete>true</Lembrete> <Lojas>sample string 9</Lojas> <News>true</News> <Sobre>sample string 8</Sobre> <Twitter>sample string 3</Twitter> <Unidades xmlns:d2p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.Results"> <d2p1:Unidade> <d2p1:DescrFiliais xmlns:d4p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v1.Results"> <d4p1:GetFiliaisItemResult> <d4p1:Bairr>sample string 11</d4p1:Bairr> <d4p1:CdFilial>sample string 5</d4p1:CdFilial> <d4p1:Distancia>sample string 15</d4p1:Distancia> <d4p1:DistanciaOrdenar>16.1</d4p1:DistanciaOrdenar> <d4p1:EndNr>sample string 10</d4p1:EndNr> <d4p1:Ender>sample string 9</d4p1:Ender> <d4p1:EnderecoId>8</d4p1:EnderecoId> <d4p1:Estado>sample string 13</d4p1:Estado> <d4p1:Id>1</d4p1:Id> <d4p1:Munic>sample string 12</d4p1:Munic> <d4p1:Nome>sample string 6</d4p1:Nome> <d4p1:NrCep>sample string 14</d4p1:NrCep> <d4p1:SubClientId>sample string 4</d4p1:SubClientId> <d4p1:TenantGroupId>sample string 7</d4p1:TenantGroupId> <d4p1:TenantId>sample string 3</d4p1:TenantId> <d4p1:TpFarmacia>sample string 2</d4p1:TpFarmacia> </d4p1:GetFiliaisItemResult> <d4p1:GetFiliaisItemResult> <d4p1:Bairr>sample string 11</d4p1:Bairr> <d4p1:CdFilial>sample string 5</d4p1:CdFilial> <d4p1:Distancia>sample string 15</d4p1:Distancia> <d4p1:DistanciaOrdenar>16.1</d4p1:DistanciaOrdenar> <d4p1:EndNr>sample string 10</d4p1:EndNr> <d4p1:Ender>sample string 9</d4p1:Ender> <d4p1:EnderecoId>8</d4p1:EnderecoId> <d4p1:Estado>sample string 13</d4p1:Estado> <d4p1:Id>1</d4p1:Id> <d4p1:Munic>sample string 12</d4p1:Munic> <d4p1:Nome>sample string 6</d4p1:Nome> <d4p1:NrCep>sample string 14</d4p1:NrCep> <d4p1:SubClientId>sample string 4</d4p1:SubClientId> <d4p1:TenantGroupId>sample string 7</d4p1:TenantGroupId> <d4p1:TenantId>sample string 3</d4p1:TenantId> <d4p1:TpFarmacia>sample string 2</d4p1:TpFarmacia> </d4p1:GetFiliaisItemResult> </d2p1:DescrFiliais> <d2p1:Descricao>sample string 2</d2p1:Descricao> <d2p1:Destino>d39ebc40-99e9-4a5b-8327-ad836a6ab9da</d2p1:Destino> <d2p1:Endereco xmlns:d4p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d4p1:Bairro>sample string 8</d4p1:Bairro> <d4p1:Cep>sample string 6</d4p1:Cep> <d4p1:Cidade>sample string 4</d4p1:Cidade> <d4p1:Complemento>sample string 9</d4p1:Complemento> <d4p1:Distancia>sample string 12</d4p1:Distancia> <d4p1:DistanciaValue>14</d4p1:DistanciaValue> <d4p1:Duracao>sample string 13</d4p1:Duracao> <d4p1:Endereco>sample string 3</d4p1:Endereco> <d4p1:EnderecoId>1</d4p1:EnderecoId> <d4p1:Estado>sample string 5</d4p1:Estado> <d4p1:Latitude>sample string 10</d4p1:Latitude> <d4p1:Longitude>sample string 11</d4p1:Longitude> <d4p1:NomeEndereco>sample string 2</d4p1:NomeEndereco> <d4p1:Numero>sample string 7</d4p1:Numero> </d2p1:Endereco> <d2p1:Filiais xmlns:d4p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d4p1:GetEnderecosItemResult> <d4p1:Bairro>sample string 8</d4p1:Bairro> <d4p1:Cep>sample string 6</d4p1:Cep> <d4p1:Cidade>sample string 4</d4p1:Cidade> <d4p1:Complemento>sample string 9</d4p1:Complemento> <d4p1:Distancia>sample string 12</d4p1:Distancia> <d4p1:DistanciaValue>14</d4p1:DistanciaValue> <d4p1:Duracao>sample string 13</d4p1:Duracao> <d4p1:Endereco>sample string 3</d4p1:Endereco> <d4p1:EnderecoId>1</d4p1:EnderecoId> <d4p1:Estado>sample string 5</d4p1:Estado> <d4p1:Latitude>sample string 10</d4p1:Latitude> <d4p1:Longitude>sample string 11</d4p1:Longitude> <d4p1:NomeEndereco>sample string 2</d4p1:NomeEndereco> <d4p1:Numero>sample string 7</d4p1:Numero> </d4p1:GetEnderecosItemResult> <d4p1:GetEnderecosItemResult> <d4p1:Bairro>sample string 8</d4p1:Bairro> <d4p1:Cep>sample string 6</d4p1:Cep> <d4p1:Cidade>sample string 4</d4p1:Cidade> <d4p1:Complemento>sample string 9</d4p1:Complemento> <d4p1:Distancia>sample string 12</d4p1:Distancia> <d4p1:DistanciaValue>14</d4p1:DistanciaValue> <d4p1:Duracao>sample string 13</d4p1:Duracao> <d4p1:Endereco>sample string 3</d4p1:Endereco> <d4p1:EnderecoId>1</d4p1:EnderecoId> <d4p1:Estado>sample string 5</d4p1:Estado> <d4p1:Latitude>sample string 10</d4p1:Latitude> <d4p1:Longitude>sample string 11</d4p1:Longitude> <d4p1:NomeEndereco>sample string 2</d4p1:NomeEndereco> <d4p1:Numero>sample string 7</d4p1:Numero> </d4p1:GetEnderecosItemResult> </d2p1:Filiais> <d2p1:TenantId>1be0d1d0-a1ec-480a-8f25-e5dee476ef1b</d2p1:TenantId> </d2p1:Unidade> <d2p1:Unidade> <d2p1:DescrFiliais xmlns:d4p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v1.Results"> <d4p1:GetFiliaisItemResult> <d4p1:Bairr>sample string 11</d4p1:Bairr> <d4p1:CdFilial>sample string 5</d4p1:CdFilial> <d4p1:Distancia>sample string 15</d4p1:Distancia> <d4p1:DistanciaOrdenar>16.1</d4p1:DistanciaOrdenar> <d4p1:EndNr>sample string 10</d4p1:EndNr> <d4p1:Ender>sample string 9</d4p1:Ender> <d4p1:EnderecoId>8</d4p1:EnderecoId> <d4p1:Estado>sample string 13</d4p1:Estado> <d4p1:Id>1</d4p1:Id> <d4p1:Munic>sample string 12</d4p1:Munic> <d4p1:Nome>sample string 6</d4p1:Nome> <d4p1:NrCep>sample string 14</d4p1:NrCep> <d4p1:SubClientId>sample string 4</d4p1:SubClientId> <d4p1:TenantGroupId>sample string 7</d4p1:TenantGroupId> <d4p1:TenantId>sample string 3</d4p1:TenantId> <d4p1:TpFarmacia>sample string 2</d4p1:TpFarmacia> </d4p1:GetFiliaisItemResult> <d4p1:GetFiliaisItemResult> <d4p1:Bairr>sample string 11</d4p1:Bairr> <d4p1:CdFilial>sample string 5</d4p1:CdFilial> <d4p1:Distancia>sample string 15</d4p1:Distancia> <d4p1:DistanciaOrdenar>16.1</d4p1:DistanciaOrdenar> <d4p1:EndNr>sample string 10</d4p1:EndNr> <d4p1:Ender>sample string 9</d4p1:Ender> <d4p1:EnderecoId>8</d4p1:EnderecoId> <d4p1:Estado>sample string 13</d4p1:Estado> <d4p1:Id>1</d4p1:Id> <d4p1:Munic>sample string 12</d4p1:Munic> <d4p1:Nome>sample string 6</d4p1:Nome> <d4p1:NrCep>sample string 14</d4p1:NrCep> <d4p1:SubClientId>sample string 4</d4p1:SubClientId> <d4p1:TenantGroupId>sample string 7</d4p1:TenantGroupId> <d4p1:TenantId>sample string 3</d4p1:TenantId> <d4p1:TpFarmacia>sample string 2</d4p1:TpFarmacia> </d4p1:GetFiliaisItemResult> </d2p1:DescrFiliais> <d2p1:Descricao>sample string 2</d2p1:Descricao> <d2p1:Destino>d39ebc40-99e9-4a5b-8327-ad836a6ab9da</d2p1:Destino> <d2p1:Endereco xmlns:d4p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d4p1:Bairro>sample string 8</d4p1:Bairro> <d4p1:Cep>sample string 6</d4p1:Cep> <d4p1:Cidade>sample string 4</d4p1:Cidade> <d4p1:Complemento>sample string 9</d4p1:Complemento> <d4p1:Distancia>sample string 12</d4p1:Distancia> <d4p1:DistanciaValue>14</d4p1:DistanciaValue> <d4p1:Duracao>sample string 13</d4p1:Duracao> <d4p1:Endereco>sample string 3</d4p1:Endereco> <d4p1:EnderecoId>1</d4p1:EnderecoId> <d4p1:Estado>sample string 5</d4p1:Estado> <d4p1:Latitude>sample string 10</d4p1:Latitude> <d4p1:Longitude>sample string 11</d4p1:Longitude> <d4p1:NomeEndereco>sample string 2</d4p1:NomeEndereco> <d4p1:Numero>sample string 7</d4p1:Numero> </d2p1:Endereco> <d2p1:Filiais xmlns:d4p1="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d4p1:GetEnderecosItemResult> <d4p1:Bairro>sample string 8</d4p1:Bairro> <d4p1:Cep>sample string 6</d4p1:Cep> <d4p1:Cidade>sample string 4</d4p1:Cidade> <d4p1:Complemento>sample string 9</d4p1:Complemento> <d4p1:Distancia>sample string 12</d4p1:Distancia> <d4p1:DistanciaValue>14</d4p1:DistanciaValue> <d4p1:Duracao>sample string 13</d4p1:Duracao> <d4p1:Endereco>sample string 3</d4p1:Endereco> <d4p1:EnderecoId>1</d4p1:EnderecoId> <d4p1:Estado>sample string 5</d4p1:Estado> <d4p1:Latitude>sample string 10</d4p1:Latitude> <d4p1:Longitude>sample string 11</d4p1:Longitude> <d4p1:NomeEndereco>sample string 2</d4p1:NomeEndereco> <d4p1:Numero>sample string 7</d4p1:Numero> </d4p1:GetEnderecosItemResult> <d4p1:GetEnderecosItemResult> <d4p1:Bairro>sample string 8</d4p1:Bairro> <d4p1:Cep>sample string 6</d4p1:Cep> <d4p1:Cidade>sample string 4</d4p1:Cidade> <d4p1:Complemento>sample string 9</d4p1:Complemento> <d4p1:Distancia>sample string 12</d4p1:Distancia> <d4p1:DistanciaValue>14</d4p1:DistanciaValue> <d4p1:Duracao>sample string 13</d4p1:Duracao> <d4p1:Endereco>sample string 3</d4p1:Endereco> <d4p1:EnderecoId>1</d4p1:EnderecoId> <d4p1:Estado>sample string 5</d4p1:Estado> <d4p1:Latitude>sample string 10</d4p1:Latitude> <d4p1:Longitude>sample string 11</d4p1:Longitude> <d4p1:NomeEndereco>sample string 2</d4p1:NomeEndereco> <d4p1:Numero>sample string 7</d4p1:Numero> </d4p1:GetEnderecosItemResult> </d2p1:Filiais> <d2p1:TenantId>1be0d1d0-a1ec-480a-8f25-e5dee476ef1b</d2p1:TenantId> </d2p1:Unidade> </Unidades> <Version>sample string 1</Version> <WebSite>sample string 4</WebSite> <WhatsApp>sample string 7</WhatsApp> <YouTube>sample string 6</YouTube> </InstitucionalUpdateBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InstitucionalUpdateResultName | Description | Type | Additional 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:
<InstitucionalUpdateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models.v2.Result"> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <Succeeded xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models">true</Succeeded> </InstitucionalUpdateResult>