Skip to main content
POST
Import a model file - AnyLogic .alp, XMILE, Vensim .mdl (A10)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
alp
string

AnyLogic model XML

alp_blob
string

TL3c: a blob id (b3:<64 hex>: an upload's blob_id, an attachment's blob) holding the file, instead of alp: read as the caller under the read gate (a blob the caller may not read answers 404 BLOB_NOT_FOUND, as an absent one) and imported exactly as if its contents were sent inline. Give one of the two (both: 400 FILE_GIVEN_TWICE).

mdl
string

Vensim model text

mdl_blob
string

TL3c: a blob id (b3:<64 hex>: an upload's blob_id, an attachment's blob) holding the file, instead of mdl: read as the caller under the read gate (a blob the caller may not read answers 404 BLOB_NOT_FOUND, as an absent one) and imported exactly as if its contents were sent inline. Give one of the two (both: 400 FILE_GIVEN_TWICE).

xmile
string
xmile_blob
string

TL3c: a blob id (b3:<64 hex>: an upload's blob_id, an attachment's blob) holding the file, instead of xmile: read as the caller under the read gate (a blob the caller may not read answers 404 BLOB_NOT_FOUND, as an absent one) and imported exactly as if its contents were sent inline. Give one of the two (both: 400 FILE_GIVEN_TWICE).

Response

OK

check
object

{ok, problems}

document
object
document_key
string
report
object

{mapped, refusals: [{kind, element, tag, message, rung}], warnings, notes, unmapped_tags, libraries}

source
string

alp | xmile | mdl

version
string