PUT api/Grantor/GrantorInformation
Actualizar información de la empresa.
Request Information
URI Parameters
None.
Body Parameters
Información
GrantorInformationApiModelName | Description | Type | Additional information |
---|---|---|---|
ApplicationId |
Identificador de la aplicación |
integer |
None. |
ApplicationName |
Nombre de la aplicación |
string |
None. |
ApplicationURL |
Url de la aplicación |
string |
None. |
BusinessName |
Razón social |
string |
None. |
GrantorTaxId |
RFC |
string |
Required |
TaxationId |
Régimen fiscal |
integer |
Required |
ClassificationId |
Clasificación |
integer |
Required |
BusinessTypeId |
Tipo de negocio |
byte |
Required |
CustomerTypeId |
Tipo de cliente |
integer |
Required |
LocalCurrencyId |
Moneda |
integer |
Required |
CitizenshipId |
Nacionalidad |
integer |
Required |
ContactInfo |
Datos de contacto |
ContactInfoDataCompanyApiModel |
None. |
AfilliationComplete |
Estatus de la afiliación |
boolean |
None. |
SignedContract |
Contratos de afiliación firmados |
boolean |
None. |
SignMethod |
Método de firma |
SignMethodApiModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "ApplicationId": 1, "ApplicationName": "sample string 2", "ApplicationURL": "sample string 3", "BusinessName": "sample string 4", "GrantorTaxId": "sample string 5", "TaxationId": 1, "ClassificationId": 6, "BusinessTypeId": 64, "CustomerTypeId": 8, "LocalCurrencyId": 1, "CitizenshipId": 1, "ContactInfo": { "Phone": "sample string 1", "Cellphone": "sample string 2", "Email": "sample string 3" }, "AfilliationComplete": true, "SignedContract": true, "SignMethod": { "SignMethodId": 1, "SignMethodName": "sample string 1" } }
application/xml, text/xml
Sample:
<GrantorInformationApiModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ApplicationId>1</ApplicationId> <ApplicationName>sample string 2</ApplicationName> <ApplicationURL>sample string 3</ApplicationURL> <BusinessName>sample string 4</BusinessName> <GrantorTaxId>sample string 5</GrantorTaxId> <TaxationId>1</TaxationId> <ClassificationId>6</ClassificationId> <BusinessTypeId>64</BusinessTypeId> <CustomerTypeId>8</CustomerTypeId> <LocalCurrencyId>1</LocalCurrencyId> <CitizenshipId>1</CitizenshipId> <ContactInfo> <Phone>sample string 1</Phone> <Cellphone>sample string 2</Cellphone> <Email>sample string 3</Email> </ContactInfo> <AfilliationComplete>true</AfilliationComplete> <SignedContract>true</SignedContract> <SignMethod> <SignMethodId>Aceptacion</SignMethodId> <SignMethodName>sample string 1</SignMethodName> </SignMethod> </GrantorInformationApiModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelApiOfGrantorInformationApiModelName | Description | Type | Additional information |
---|---|---|---|
success |
Indica si la solicitud se procesó de manera satisfactoria |
boolean |
None. |
message |
Mensaje de la solicitud |
string |
None. |
messageDetail |
Lista de mensajes |
Collection of string |
None. |
failureCode |
Código de error en caso de existir |
string |
None. |
data |
Layout de respuesta de la solicitud |
GrantorInformationApiModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "message": "sample string 2", "messageDetail": [ "sample string 1", "sample string 2" ], "failureCode": "sample string 3", "data": { "ApplicationId": 1, "ApplicationName": "sample string 2", "ApplicationURL": "sample string 3", "BusinessName": "sample string 4", "GrantorTaxId": "sample string 5", "TaxationId": 1, "ClassificationId": 6, "BusinessTypeId": 64, "CustomerTypeId": 8, "LocalCurrencyId": 1, "CitizenshipId": 1, "ContactInfo": { "Phone": "sample string 1", "Cellphone": "sample string 2", "Email": "sample string 3" }, "AfilliationComplete": true, "SignedContract": true, "SignMethod": { "SignMethodId": 1, "SignMethodName": "sample string 1" } } }
application/xml, text/xml
Sample:
<ResponseModelApiOfGrantorInformationApiModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <message>sample string 2</message> <messageDetail> <string>sample string 1</string> <string>sample string 2</string> </messageDetail> <failureCode>sample string 3</failureCode> <data> <ApplicationId>1</ApplicationId> <ApplicationName>sample string 2</ApplicationName> <ApplicationURL>sample string 3</ApplicationURL> <BusinessName>sample string 4</BusinessName> <GrantorTaxId>sample string 5</GrantorTaxId> <TaxationId>1</TaxationId> <ClassificationId>6</ClassificationId> <BusinessTypeId>64</BusinessTypeId> <CustomerTypeId>8</CustomerTypeId> <LocalCurrencyId>1</LocalCurrencyId> <CitizenshipId>1</CitizenshipId> <ContactInfo> <Phone>sample string 1</Phone> <Cellphone>sample string 2</Cellphone> <Email>sample string 3</Email> </ContactInfo> <AfilliationComplete>true</AfilliationComplete> <SignedContract>true</SignedContract> <SignMethod> <SignMethodId>Aceptacion</SignMethodId> <SignMethodName>sample string 1</SignMethodName> </SignMethod> </data> </ResponseModelApiOfGrantorInformationApiModel>