Skip to main content

Site

ARSite

This object is a descendant of ARBaseEntity object, thus it inherits the entityType property
It extends Site object.
See definition under Schemas/Site in MPT OpenAPI Documentation.

Example of Site
{
"id": "Client_A",
"coordinates": {
"longitude": 5.852579,
"latitude": 49.825763
},
"isDepot": false,
"timesProfilesForLoading": [
{
"idProfile": "TimeProfile_1",
"idProductFamily": "DEFAUT"
}
],
"timesProfilesForUnloading": [
{
"idProfile": "TimeProfile_2",
"idProductFamily": "DEFAUT"
}
],
"logisticProfilesForLoading": [
{
"idProfile": "LogisticProfile_1",
"idProductFamily": "DEFAUT"
}
],
"logisticProfilesForUnloading": [
{
"idProfile": "LogisticProfile_2",
"idProductFamily": "DEFAUT"
}
],
"fixedTimeManagementRule": "LONGEST_TIME",
"flowManagementRule": "SUM_OF_TIME",
"entityType": "SITE"
}
Info

ARSite add entityType property to API MPT Site object.
For a site, the entityType value is "SITE".

Warning

A site id must be present and unique in the sites list in the entities message.

Info

coordinates property defines the gps coordinates for the site.

Info

timesProfilesForLoading, timesProfilesForUnloading, logisticProfilesForLoading and logisticProfilesForUnloading properties are lists of SiteProfilesAssociation.

Coordinates

This object describes the geographic position of a logistic site.
See Coordinates definition under Schemas/Coordinates in MCDI OpenAPI Documentation.

Example of Coordinates
{
"longitude": 5.852579,
"latitude": 49.825763
}

Site Profiles Association

This object describes a link between a Site and a Profile.
See SiteProfilesAssociation definition under Schemas/SiteProfilesAssociation in MCDI OpenAPI Documentation.

Example of Time Profile Link
{
"idProfile": "PROFILE_1",
"idProductFamily": "FAMILY_A"
}