Simulation

Get Simulations v2.0

GET https://yoursite.demanddriventech.com/odata/v2/simulation

This endpoint allows you to get simulations and settings for the current dataset. This endpoint currently does not accept parameters.

{
    "@odata.context": "https://yoursite.demanddriventech.com/odata/v2/$metadata#simulation",
    "value": [
        {
            "DataSetId": 1,
            "Id": 2,
            "LocationId": 4,
            "Name": "Simulation for 'Plant1'",
            "Location": "Plant100",
            "StartingDate": "2020-05-20T00:00:00-07:00",
            "WeeksToSimulate": 52,
            "AutoUpdate": false,
            "AllowDemandOnNonWorkingDays": false,
            "ForecastHorizonWeeks": 12,
            "PerformMrp": false,
            "ProjectedInventoryReportCriticalPercentOfRedZone": 0,
            "ProjectedInventoryReportHighPercentOfRedZone": 50,
            "ProjectedInventoryReportMediumPercentOfRedZone": 100,
            "ProjectedInventoryReportHorizonWeeks": 12,
            "PromotionReportCriticalPercentOfWeeklyDemand": 2000,
            "PromotionReportHighPercentOfWeeklyDemand": 1000,
            "PromotionReportMediumPercentOfWeeklyDemand": 500,
            "PromotionReportHorizonWeeks": 12,
            "DailyUsageReportChangeCriticalPercentOfDailyUsage": 500,
            "DailyUsageReportChangeHighPercentOfDailyUsage": 200,
            "DailyUsageReportChangeMediumPercentOfDailyUsage": 150,
            "LastRun": "2020-07-01T01:08:59.41-07:00",
            "SchedulingSetId": 48
        }
    ]
}

Simulation Fields

Field Name

Type

DataSetId

int

Id

int

LocationId

int

Name

text

Location

text

StartingDate

date

WeeksToSimulate

int

AutoUpdate

bool

AutoUpdateAlignment

DayOfWeek?

DemandPattern

DayOfWeek?

AllowDemandOnNonWorkingDays

bool

ForecastHorizonWeeks

int

PerformMrp

bool

ProjectedInventoryReportCriticalPercentOfRedZone

int

ProjectedInventoryReportHighPercentOfRedZone

int

ProjectedInventoryReportMediumPercentOfRedZone

int

ProjectedInventoryReportHorizonWeeks

int

PromotionReportCriticalPercentOfWeeklyDemand

int

PromotionReportHighPercentOfWeeklyDemand

int

PromotionReportMediumPercentOfWeeklyDemand

int

PromotionReportHorizonWeeks

int

DailyUsageReportChangeCriticalPercentOfDailyUsage

int

DailyUsageReportChangeHighPercentOfDailyUsage

int

DailyUsageReportChangeMediumPercentOfDailyUsage

int

LastRun

date?

SchedulingSetId

int?

Errors

text

DayOfWeek

Value

Sunday

Monday

Tuesday

Wednesday

Thursday

Friday

Saturday

Last updated