Create entry (POST)
Create manifest entry is a Notify API method that can be used to create a single new entry into a manifest.
See also:
Usage
Request method:
POST
Request URL:
{baseUrl}/notify-api/tenants/local/installations/local/environments/local/source-systems/{sourceSystemName}/source-entities/{sourceEntityName}/manifests/{id}/entries
where:
{base_url}, {sourceSystemName}, {sourceEntityName} see Notify API
{id} is the manifest id.
Request body:
{
"batch": {integer},
"sourceFile": {string}
}
See Notify API for property descriptions and guidelines.
Notes
If there are a lot of entries and all entries can be added in one request, use create multiple entries (PUT) since it is much faster than calling POST in a loop.
Examples
Create a manifest entry
Property | Value |
---|---|
sourceSystemName | taxidata |
sourceEntityName | ratecode_description |
id | a936c9c5-a2d5-4d1a-bcf5-7832f21342ca |
Request method:
POST
Request URL:
{base_url}/notify-api/tenants/local/installations/local/environments/local/source-systems/taxidata/source-entities/ratecode_description/manifests/a936c9c5-a2d5-4d1a-bcf5-7832f21342ca/entries
Request body:
{
"batch": 1618916378963,
"sourceFile": "azure://example.blob.core.windows.net/example-container/taxidata/ratecode_description.batch.1618916378963.csv.gz"
}
Response code:
201 (Created)
Response body:
{
"id": "0ea17eb5-6ff8-436b-ba13-701ff2b3015d",
"batch": 1618916378963,
"sourceFile": "azure://example.blob.core.windows.net/example-container/taxidata/ratecode_description.batch.1618916378963.csv.gz"
}