PUT api/edilhole/v1/Dispatch/state?idDispatch={idDispatch}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idDispatch

integer

Required

Body Parameters

DispatchHistoryDTO
NameDescriptionTypeAdditional information
id

integer

None.

id_dispatch

integer

None.

dispatch_title

string

None.

dispatch_description

string

None.

from_user_id

integer

None.

from_user_email

string

None.

from_user_name

string

None.

from_user_role

string

None.

to_user_id

integer

None.

to_user_email

string

None.

to_user_name

string

None.

to_user_role

string

None.

cod_state

string

None.

note

string

None.

disp_note

string

None.

img_path

string

None.

img_path2

string

None.

img_path3

string

None.

img_path4

string

None.

rowversion

Collection of byte

None.

edit_date

date

None.

create_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "id_dispatch": 1,
  "dispatch_title": "sample string 2",
  "dispatch_description": "sample string 3",
  "from_user_id": 1,
  "from_user_email": "sample string 4",
  "from_user_name": "sample string 5",
  "from_user_role": "sample string 6",
  "to_user_id": 1,
  "to_user_email": "sample string 7",
  "to_user_name": "sample string 8",
  "to_user_role": "sample string 9",
  "cod_state": "sample string 10",
  "note": "sample string 11",
  "disp_note": "sample string 12",
  "img_path": "sample string 13",
  "img_path2": "sample string 14",
  "img_path3": "sample string 15",
  "img_path4": "sample string 16",
  "rowversion": "QEA=",
  "edit_date": "2023-03-22 13:46:25",
  "create_date": "2023-03-22 13:46:25"
}

application/xml, text/xml

Sample:
<DispatchHistoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EdilHole.DTO.Dispatch">
  <cod_state>sample string 10</cod_state>
  <create_date>2023-03-22T13:46:25.0198718+01:00</create_date>
  <disp_note>sample string 12</disp_note>
  <dispatch_description>sample string 3</dispatch_description>
  <dispatch_title>sample string 2</dispatch_title>
  <edit_date>2023-03-22T13:46:25.0198718+01:00</edit_date>
  <from_user_email>sample string 4</from_user_email>
  <from_user_id>1</from_user_id>
  <from_user_name>sample string 5</from_user_name>
  <from_user_role>sample string 6</from_user_role>
  <id>1</id>
  <id_dispatch>1</id_dispatch>
  <img_path>sample string 13</img_path>
  <img_path2>sample string 14</img_path2>
  <img_path3>sample string 15</img_path3>
  <img_path4>sample string 16</img_path4>
  <note>sample string 11</note>
  <rowversion>QEA=</rowversion>
  <to_user_email>sample string 7</to_user_email>
  <to_user_id>1</to_user_id>
  <to_user_name>sample string 8</to_user_name>
  <to_user_role>sample string 9</to_user_role>
</DispatchHistoryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDTOOfObject
NameDescriptionTypeAdditional information
Status

StatusDTO

None.

Payload

Object

None.

Errors

Collection of ErrorDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "Code": "sample string 1",
    "Description": "sample string 2"
  },
  "Payload": {},
  "Errors": null
}

application/xml, text/xml

Sample:
<ResponseDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EdilHole.DTO">
  <Errors i:nil="true" />
  <Payload />
  <Status>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </Status>
</ResponseDTOOfanyType>