POST ionactivity/changeactivitystate

Request Information

URI Parameters

None.

Body Parameters

NotesViewModel
NameDescriptionTypeAdditional information
OrderNote

string

None.

LavNotes

Collection of MyNota

None.

LavorazioneId

integer

None.

UserId

integer

None.

Note

string

None.

ActivityId

integer

None.

ProcessPosition

integer

None.

OperationType

string

None.

ConsuntivoTempoTotale

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderNote": "sample string 1",
  "LavNotes": [
    {
      "DataNotaString": "sample string 1",
      "IdPrinterUpNoteLavorazione": 2,
      "IdOrder": 1,
      "NumeroOrdine": "sample string 3",
      "IdLavorazione": 1,
      "DescrizioneNota": "sample string 4",
      "EmessoDa": "sample string 5",
      "TipoEmissione": 1,
      "DataNota": "2025-05-05T09:02:27.9097224+02:00",
      "TipoNota": 1,
      "SSMA_TimeStamp": "QEA=",
      "LetturaNota": "sample string 6",
      "Oggetto": "sample string 7",
      "Tipo": "sample string 8",
      "IdUserMittente": 1,
      "IdUserDestinatario": 1,
      "LetturaNotaBackoffice": true,
      "LettoDaBackoffice": "sample string 9",
      "DataLettoBackoffice": "2025-05-05T09:02:27.9097224+02:00"
    },
    {
      "DataNotaString": "sample string 1",
      "IdPrinterUpNoteLavorazione": 2,
      "IdOrder": 1,
      "NumeroOrdine": "sample string 3",
      "IdLavorazione": 1,
      "DescrizioneNota": "sample string 4",
      "EmessoDa": "sample string 5",
      "TipoEmissione": 1,
      "DataNota": "2025-05-05T09:02:27.9097224+02:00",
      "TipoNota": 1,
      "SSMA_TimeStamp": "QEA=",
      "LetturaNota": "sample string 6",
      "Oggetto": "sample string 7",
      "Tipo": "sample string 8",
      "IdUserMittente": 1,
      "IdUserDestinatario": 1,
      "LetturaNotaBackoffice": true,
      "LettoDaBackoffice": "sample string 9",
      "DataLettoBackoffice": "2025-05-05T09:02:27.9097224+02:00"
    }
  ],
  "LavorazioneId": 2,
  "UserId": 3,
  "Note": "sample string 4",
  "ActivityId": 5,
  "ProcessPosition": 6,
  "OperationType": "sample string 7",
  "ConsuntivoTempoTotale": 1
}

text/xml

Sample:
<NotesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.Api.Models.Document">
  <ActivityId>5</ActivityId>
  <ConsuntivoTempoTotale>1</ConsuntivoTempoTotale>
  <LavNotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/WscPrinter.Controllers.Documentale">
    <d2p1:MyNota>
      <DataLettoBackoffice xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">2025-05-05T09:02:27.9097224+02:00</DataLettoBackoffice>
      <DataNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">2025-05-05T09:02:27.9097224+02:00</DataNota>
      <DescrizioneNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 4</DescrizioneNota>
      <EmessoDa xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 5</EmessoDa>
      <IdLavorazione xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdLavorazione>
      <IdOrder xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdOrder>
      <IdPrinterUpNoteLavorazione xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">2</IdPrinterUpNoteLavorazione>
      <IdUserDestinatario xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdUserDestinatario>
      <IdUserMittente xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdUserMittente>
      <LettoDaBackoffice xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 9</LettoDaBackoffice>
      <LetturaNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 6</LetturaNota>
      <LetturaNotaBackoffice xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">true</LetturaNotaBackoffice>
      <NumeroOrdine xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 3</NumeroOrdine>
      <Oggetto xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 7</Oggetto>
      <SSMA_TimeStamp xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">QEA=</SSMA_TimeStamp>
      <Tipo xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 8</Tipo>
      <TipoEmissione xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</TipoEmissione>
      <TipoNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</TipoNota>
      <d2p1:DataNotaString>sample string 1</d2p1:DataNotaString>
    </d2p1:MyNota>
    <d2p1:MyNota>
      <DataLettoBackoffice xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">2025-05-05T09:02:27.9097224+02:00</DataLettoBackoffice>
      <DataNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">2025-05-05T09:02:27.9097224+02:00</DataNota>
      <DescrizioneNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 4</DescrizioneNota>
      <EmessoDa xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 5</EmessoDa>
      <IdLavorazione xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdLavorazione>
      <IdOrder xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdOrder>
      <IdPrinterUpNoteLavorazione xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">2</IdPrinterUpNoteLavorazione>
      <IdUserDestinatario xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdUserDestinatario>
      <IdUserMittente xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</IdUserMittente>
      <LettoDaBackoffice xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 9</LettoDaBackoffice>
      <LetturaNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 6</LetturaNota>
      <LetturaNotaBackoffice xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">true</LetturaNotaBackoffice>
      <NumeroOrdine xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 3</NumeroOrdine>
      <Oggetto xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 7</Oggetto>
      <SSMA_TimeStamp xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">QEA=</SSMA_TimeStamp>
      <Tipo xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">sample string 8</Tipo>
      <TipoEmissione xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</TipoEmissione>
      <TipoNota xmlns="http://schemas.datacontract.org/2004/07/WscPrinter.DAL.Documentale">1</TipoNota>
      <d2p1:DataNotaString>sample string 1</d2p1:DataNotaString>
    </d2p1:MyNota>
  </LavNotes>
  <LavorazioneId>2</LavorazioneId>
  <Note>sample string 4</Note>
  <OperationType>sample string 7</OperationType>
  <OrderNote>sample string 1</OrderNote>
  <ProcessPosition>6</ProcessPosition>
  <UserId>3</UserId>
</NotesViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>