Skip to main content
GET
Get Org Routing
← Imports A holding can import one file for its whole group: each row is written into one organization of the group. This endpoint says, for a validated session, how many of the rows the submit will write go to each organization, and whether some go to an organization other than the one you import from. Read it after Validate and after correcting or deleting rows, and show it before Submit. The destination of each row is decided as the submit decides it, from the template:
  • In most templates, the row’s organization column (organization_id), or a fixed value for it; a blank cell is a row of the organization you import from.
  • A facility consumption or a waste goes to the organization of its facility (the row’s, or the session’s facility_id), whatever the organization column says.
  • A use of product goes to the organization of its product.
Rows with errors are not counted: the submit does not write them.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
UUID of the import sessionExample: "11111111-1111-1111-1111-111111111111"

Response

string
UUID of the import session
object | null
Where the rows go. Null when the template writes every row into the organization you import from (it has no organization column), and before the session is validated.

Example

Response