SaveScenarioSession

Paths

Example

Example request object

{
  "ScenarioSession": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "Number": 0,
    "CreationDate": "2024-12-26T20:55:13.9304643+01:00",
    "Description": "string_example",
    "MasterDateStart": "2024-12-26T20:55:13.9304643+01:00",
    "MasterDateEnd": "2024-12-26T20:55:13.9304643+01:00",
    "ScenarioId": "00000000-0000-0000-0000-000000000000",
    "CompletionDate": null,
    "PersonId": "00000000-0000-0000-0000-000000000000",
    "Person": {
      "ActivationId": null,
      "Address": null,
      "BankAccount": null,
      "BirthDate": null,
      "CellPhone": null,
      "Code": null,
      "Comments": null,
      "Credential": null,
      "Email": null,
      "Gender": 0,
      "Id": "00000000-0000-0000-0000-000000000000",
      "IsBlocked": false,
      "Language": null,
      "Name": null,
      "NationalNumber": null,
      "Phone": null,
      "Picture": null,
      "ResetPasswordId": null,
      "Settings": null,
      "Contacts": null,
      "Type": 0,
      "Parent": false,
      "Disabled": false,
      "HeadOfFamily": false,
      "Relations": null,
      "Info1": null,
      "Info2": null,
      "Info3": null,
      "Info4": null,
      "Info5": null,
      "ExternalMasterID": null,
      "ParentRelations": null,
      "InvoiceAddressId": null,
      "PictureUrl": null,
      "Status": null,
      "Title": null,
      "IBAN": null,
      "BIC": null,
      "AllowEdit": false,
      "IsWebBlocked": false,
      "Group": null,
      "Doctor": null,
      "Website": null,
      "ClubInfo": null,
      "Email2": null,
      "Phone2": null,
      "PasswordIsChangedByUserOnWeb": false,
      "ExternCustomerNumber": null,
      "LastPasswordUpdate": null,
      "TotalLlvCredits": 0.0,
      "VatNumber": null,
      "EnterpriseNumber": null,
      "BlockSynchronisation": false,
      "Student": false,
      "CapScanAddress": null,
      "UserComments": null,
      "CreationDate": null,
      "LastUpdate": null,
      "UseSeasonPlanning": false,
      "Company": null,
      "CompanyPeople": null,
      "Nationality": null,
      "Function": null,
      "OrganisationNumber": null,
      "SMSAllowed": false
    },
    "ChecklistStatus": 0,
    "ChecklistApprovalDate": null,
    "QuestionValues": null,
    "Values": null,
    "Checks": null,
    "Codes": [
      "string_example"
    ],
    "ScenarioType": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": null,
      "Description": null,
      "Comment": null,
      "Weight": 0,
      "Codes": null
    },
    "FileId": null,
    "ScenarioQuestionInputValueFileGeneral": {
      "Number": null,
      "Status": 0,
      "AgeCategory": null,
      "Description": null,
      "Customer": null,
      "Contact": null,
      "PriceGroup": null,
      "DesiredPaymentMethod": null,
      "InvoiceCustomer": null,
      "FileManager": null,
      "SalesManager": null,
      "ExecutionDateTime": null,
      "ExpirationDate": null,
      "PriceDate": null,
      "CustomerReference": null,
      "Comment": null,
      "Leader1": null,
      "Leader2": null,
      "Leader3": null,
      "Leader4": null,
      "Leader5": null
    },
    "ScenarioQuestionInputValueFileDetails": null,
    "FileNumber": "string_example",
    "FileDescription": "string_example",
    "Comments": null,
    "Attachments": null,
    "HasAttachments": false,
    "CanCopy": false,
    "ControlCodes": [
      "string_example"
    ],
    "SpotbookingStatus": 0
  },
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "Result": {
    "ScenarioSessionId": "00000000-0000-0000-0000-000000000000",
    "IsValid": false,
    "ScenarioType": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Code": null,
      "Description": null,
      "Comment": null,
      "Weight": 0,
      "Codes": null
    },
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response