POST api/DrawingTemplate/Publish

Documentation for 'Publish'.

Request Information

Parameters

NameDescriptionAdditional information
dto
Documentation for 'dto'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Template": {
    "Code": "sample string 1",
    "Layout": "QEBA",
    "IsActiveLanguageIT": true,
    "DescriptionIT": "sample string 3",
    "IsActiveLanguageEN": true,
    "DescriptionEN": "sample string 5",
    "IsActiveLanguageES": true,
    "DescriptionES": "sample string 7",
    "Engine": {
      "Name": "sample string 1",
      "Model": {
        "Name": "sample string 1",
        "Year": 2,
        "Manufacturer": {
          "Name": "sample string 1",
          "Models": [],
          "ID": 2,
          "DateIns": "2020-03-29T16:49:58.3473388+02:00",
          "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
          "DateDel": "2020-03-29T16:49:58.3473388+02:00",
          "UserIns": 4,
          "UserUpd": 1,
          "UserDel": 1
        },
        "Engines": [],
        "ID": 3,
        "DateIns": "2020-03-29T16:49:58.3473388+02:00",
        "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
        "DateDel": "2020-03-29T16:49:58.3473388+02:00",
        "UserIns": 5,
        "UserUpd": 1,
        "UserDel": 1
      },
      "ID": 2,
      "DateIns": "2020-03-29T16:49:58.3473388+02:00",
      "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
      "DateDel": "2020-03-29T16:49:58.3473388+02:00",
      "UserIns": 4,
      "UserUpd": 1,
      "UserDel": 1
    },
    "Drawings": [
      {
        "Code": "sample string 1",
        "Language": 0,
        "ID": 2,
        "DateIns": "2020-03-29T16:49:58.3473388+02:00",
        "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
        "DateDel": "2020-03-29T16:49:58.3473388+02:00",
        "UserIns": 4,
        "UserUpd": 1,
        "UserDel": 1
      },
      {
        "Code": "sample string 1",
        "Language": 0,
        "ID": 2,
        "DateIns": "2020-03-29T16:49:58.3473388+02:00",
        "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
        "DateDel": "2020-03-29T16:49:58.3473388+02:00",
        "UserIns": 4,
        "UserUpd": 1,
        "UserDel": 1
      },
      {
        "Code": "sample string 1",
        "Language": 0,
        "ID": 2,
        "DateIns": "2020-03-29T16:49:58.3473388+02:00",
        "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
        "DateDel": "2020-03-29T16:49:58.3473388+02:00",
        "UserIns": 4,
        "UserUpd": 1,
        "UserDel": 1
      }
    ],
    "ID": 8,
    "DateIns": "2020-03-29T16:49:58.3473388+02:00",
    "DateUpd": "2020-03-29T16:49:58.3473388+02:00",
    "DateDel": "2020-03-29T16:49:58.3473388+02:00",
    "UserIns": 10,
    "UserUpd": 1,
    "UserDel": 1
  },
  "PublishIT": true,
  "PublishEN": true,
  "PublishES": true,
  "StreamIT": "QEBA",
  "StreamEN": "QEBA",
  "StreamES": "QEBA"
}

application/x-www-form-urlencoded

Sample:

Sample not available.