Skip to main content
Version: Next

Register into network by id

Information

Use this endpoint to register a business entity in a network.


This step is mandatory to ensure the receipt of documents.
In the case of a company registered in the domestic FR network, it will be marked as using Iopole as the reception platform. In the case of a PEPPOL connection, the company will be connected to the PEPPOL network with iopole as the reception platform.

This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

POST/v1/config/business/entity/identifier/{businessEntityIdentifierId}/network/{networkIdentifier}

Path parameters
businessEntityIdentifierIdstring (uuid) - Required

networkIdentifierstring - Required



Body parameters
validityStartDatestring (YYYY-MM-DD) - Default value : If omitted, the default value is tomorrow

validityEndDatestring (YYYY-MM-DD) - Default value : If omitted, no end date is set (ie. the registration remains valid indefinitely)




Request

POST /v1/config/business/entity/identifier/:businessEntityIdentifierId/network/:networkIdentifier


curl -X 'POST' 'https://api.ppd.iopole.fr//v1/config/business/entity/identifier/0194cbfe-ab2b-709e-8897-e1b86eca130e/network/DOMESTIC_FR' -H 'accept: application/json' -H 'Authorization: Bearer ${TOKEN}' -H 'Content-Type: application/json'

Response

Status: 201 - application/json

Description: Business entity registered

Schema:

  • type: enum
    The type of the response object.
  • id: string
    The unique identifier for the created element.

Examples:

{
  "type": "DIRECTORY",
  "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}

Status: 401

Description: Unauthorized - Authentication is required and has failed or has not yet been provided.

Status: 403

Description: Forbidden - The server understood the request, but it refuses to authorize it. Note: This endpoint requires an admin account.

Status: 404

Description: Not found - Network not found or operator not connected with it. Or business entity not found