POST api/dynamics/prospecto
Request Information
URI Parameters
None.
Body Parameters
ProspectoName | Description | Type | Additional information |
---|---|---|---|
RazonSocial | string |
None. |
|
TipoDocumentoGUID | string |
None. |
|
NumeroDocumento | string |
None. |
|
DigitoVerificacion | string |
None. |
|
MunicipioGUID | string |
None. |
|
Direccion | string |
None. |
|
TelefonoFijo | string |
None. |
|
TelefonoCelular | string |
None. |
|
CorreoElectronico | string |
None. |
|
Nombres | string |
None. |
|
Apellidos | string |
None. |
|
TipoProspecto | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "RazonSocial": "sample string 1", "TipoDocumentoGUID": "sample string 2", "NumeroDocumento": "sample string 3", "DigitoVerificacion": "sample string 4", "MunicipioGUID": "sample string 5", "Direccion": "sample string 6", "TelefonoFijo": "sample string 7", "TelefonoCelular": "sample string 8", "CorreoElectronico": "sample string 9", "Nombres": "sample string 10", "Apellidos": "sample string 11", "TipoProspecto": 12 }
application/xml, text/xml
Sample:
<Prospecto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.Dynamics.Entidades.Clientes"> <Apellidos>sample string 11</Apellidos> <CorreoElectronico>sample string 9</CorreoElectronico> <DigitoVerificacion>sample string 4</DigitoVerificacion> <Direccion>sample string 6</Direccion> <MunicipioGUID>sample string 5</MunicipioGUID> <Nombres>sample string 10</Nombres> <NumeroDocumento>sample string 3</NumeroDocumento> <RazonSocial>sample string 1</RazonSocial> <TelefonoCelular>sample string 8</TelefonoCelular> <TelefonoFijo>sample string 7</TelefonoFijo> <TipoDocumentoGUID>sample string 2</TipoDocumentoGUID> <TipoProspecto>12</TipoProspecto> </Prospecto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |