v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-033223581.2 MB
LookupTableRevisionData

Generate LookupTableRevisionData Upload URL

Generate a URL which can be used to upload a data file for creating or updating the Lookup Table Revision's data:

  • An upload URL is returned together with an UPLOAD jobId.
  • You can then upload your data file using a PUT request using the returned upload URL as the endpoint. For the PUT request, map the headers returned and their values and in the request body select the specified CSV or JSONL file containing the Revision Data to upload.
  • You can use the returned UPLOAD jobId with the List LookupTableRevisionData Jobs or the Get LookupTableRevisionData Job Response endpoints for any follow-up or troubleshooting.

Important:

  • The contentLength request parameter is required.
  • The upload URL is time limited - it is valid for one minute.
post/organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/generateuploadurl

Path parameters

orgIdstring required

UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service.

lookupTableIdstring required

UUID of the Lookup Table.

lookupTableRevisionIdstring required

UUID of the Lookup Table Revision.

Request body

fileNamestring required

The name of the file to be uploaded.

contentType'application/jsonl' | 'text/csv' required

The content type

versioninteger

Version of the Lookup Table Revision Data.

contentLengthinteger required

The size of the file body in bytes. For example: "contentLength": 485, where 485 is the size in bytes of the file to upload.

Response

Returns the upload URL.

jobIdstring

UUID of the upload job

urlstring

The presigned URL

headersobject

The headers