Actualizar Detalles de Entidad Certificada

# Actualizar Detalles de Entidad Certificada

<div data-gb-custom-block data-tag="swagger" data-method='put' data-path='' data-baseUrl='https://api.iafcertsearch.org/api/client/v1/mncb/ce-by-guid' data-summary='Este endpoint te permite actualizar los detalles de la Entidad Certificada especificada con su GUID.'>

<div data-gb-custom-block data-tag="swagger-description">

El campo `company_guid` es siempre obligatorio. Otros campos marcados con un asterisco (\*) son obligatorios si están presentes en el cuerpo de la solicitud.

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_guid' data-required='true'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_trading_name'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_en_name'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_country' data-required='true'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_street'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_city'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_state'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_postcode'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='company_website'>

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='header' data-name='Content-Type' data-required='true'>

application/json

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='header' data-name='x-http-authorization' data-required='true'>

Clave API recibida de https://iafcertsearch.org/import-management/api-integration



Ejemplo:&#x20;

`x-http-authorization: <<API KEY>>`

</div>

<div data-gb-custom-block data-tag="swagger-parameter" data-in='body' data-name='system_information'>

"system\_information" : {

&#x20;  "company\_name" : "string",

&#x20;  "company\_guids" : \[

&#x20;      "string",&#x20;

&#x20;     "string"&#x20;

&#x20;  ]

},

o

"system\_information": \[

&#x20;  {

&#x20;     "company\_name": "string",

&#x20;     "company\_guid": "string"

&#x20;  }

]

</div>

<div data-gb-custom-block data-tag="swagger-response" data-status='200: OK' data-description='Solicitud exitosa.'>

```javascript
{
    "data": {
        "company_id": "string",
        "company_name": "string",
        "company_trading_name": "string",
        "company_street": "string",
        "company_city": "string",
        "company_suburb": "string",
        "company_postcode": "string",
        "company_state": "string",
        "company_country": "string",
        "company_email": "string",
        "company_status": "string",
        "company_type": "string",
        "company_contact": string,
        "company_logo": "[]",
        "company_banner": "[]",
        "countries_id": number,
        "company_website": "string",
        "company_tz": number,
        "company_tz_text": "string",
        "company_hash": "string",
        "company_guid": "string",
        "company_phone": string,
        "company_business_type": string,
        "company_address": string,
        "company_en_name": "string",
        "qualitytrade_id": number,
        "qualitytrade_hash": string,
        "company_search_limit": number,
        "is_confidential": number,
        "activated_at": date,
        "created_at": date,
        "updated_at": date
    }
}

Para ver el ejemplo de datos de respuesta, haz clic en la flecha derecha en el lado derecho de la descripción de la respuesta.

También puedes usar https://api.sandbox.iafcertsearch.org/api/client/v1/mncb/ce-by-guid para probarlo en el servidor de Sandbox.

Echa un vistazo a cómo podrías llamar a este método:

curl --location --request PUT 'https://api.iafcertsearch.org/api/client/v1/mncb/ce-by-guid' \
--header 'x-http-authorization: <<API_KEY>>' \
--header 'Content-Type: application/json' \
--header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36' \
--data-raw '{
    "company_guid" : "string",
    "company_trading_name": "string",
    "company_en_name": "string",
    "company_country": "string",
    "company_street": "string",
    "company_city": "string",
    "company_state": "string",
    "company_postcode": "string",
    "company_website": "string",
        "system_information":{
        "company_name": "string",
        "company_guids": [
            "string",
            "string"
        ]
    }
}'

Last updated