Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 Campos do Contato

Rótulo do campoNome de APITipo de dadoDescrição
NameFirstName


LastName


OwnerId


AccountId


Title


snap_mall__cpf__c


Department


snap_mall__id_externo__c


snap_mall__rg__c


snap_mall__nacionalidade__c


snap_mall__profissao__c


snap_mall__conjuge__c


snap_mall__Estado_civil__c


snap_mall__Numero_documento__c


snap_mall__Tipo_documento__c


snap_mall__Orgao_emissor__c


Email


AssistantName


MobilePhone


AssistantPhone


Phone


Fax


HomePhone


OtherPhone


MailingCity


MailingState


MailingPostalCode


MailingCountryCode


MailingStateCode


Birthdate


LeadSource


DoNotCall


snap_mall__Languages__c


HasOptedOutOfEmail


snap_mall__Level__c


HasOptedOutOfFax


Description


   Criar Franqueado:

                 Método : POST

                 URI: https://{{dominio}}/services/data/{{versao}}/sobjects/Contact/

                 Descrição: Método de criação de uma conta(Account) do tipo Franqueado, informando todos os campos utilizados para um Franqueado.


Request
{
"FirstName":"Rogerio",
"LastName":"Inga",
"OwnerId":"0051J000004ppUV",
"AccountId":"0011J00001DwI9T",
"Title":"Diretor",
"snap_mall__cpf__c":"00311704042",
"Department":"Criação",
"snap_mall__id_externo__c":"123456",
"snap_mall__rg__c":"437743974",
"snap_mall__nacionalidade__c":"Brasileiro",
"snap_mall__profissao__c":"Empresário",
"snap_mall__conjuge__c":"0031J00001MNYJ4",
"snap_mall__Estado_civil__c":"Casado (a)",
"snap_mall__Numero_documento__c":"437743975",
"snap_mall__Tipo_documento__c":"RG",
"snap_mall__Orgao_emissor__c":"SSP",
"Email":"rogerio@rogerio.com.teste",
"AssistantName":"Renan",
"MobilePhone":"+551177777777",
"AssistantPhone":"+551144444444",
"Phone":"+551233456783",
"Fax":"+551187842749",
"HomePhone":"+5544443452991",
"OtherPhone":"+1198852253525",
"MailingCity":"São Paulo",
"MailingState":"São Paulo",
"MailingPostalCode":"01311300",
"MailingCountryCode":"Br",
"MailingStateCode":"SP",
"Birthdate":"1996-25-01",
"LeadSource":"Purchased List",
"DoNotCall":"true",
"snap_mall__Languages__c":"Inglês",
"HasOptedOutOfEmail":"true",
"snap_mall__Level__c":"Secondary",
"HasOptedOutOfFax":"false",
"Description":"Trabalha com fax"
}



Response

{
"id": "0031J00001OOoGfQAL",
"success": true,
"errors": []
}