PUT api/Drawing/UpdateDrawing

Request Information

URI Parameters

None.

Body Parameters

DrawingVm
NameDescriptionTypeAdditional information
Id

integer

None.

DrawingNo

string

None.

Name

string

None.

AccountTypeId

integer

None.

ProjectId

integer

None.

Description

string

None.

LastUploadedOn

date

None.

ControlNote

string

None.

AlertStatus

string

None.

IsDeleted

boolean

None.

DocumentsCount

integer

None.

PdfRef

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DrawingNo": "sample string 2",
  "Name": "sample string 3",
  "AccountTypeId": 4,
  "ProjectId": 5,
  "Description": "sample string 6",
  "LastUploadedOn": "2025-12-17T14:45:46.2894378+01:00",
  "ControlNote": "sample string 7",
  "AlertStatus": "sample string 8",
  "IsDeleted": true,
  "DocumentsCount": 10,
  "PdfRef": "sample string 11"
}

application/xml, text/xml

Sample:
<DrawingVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nokon.Nappen.Data.ViewModels">
  <AccountTypeId>4</AccountTypeId>
  <AlertStatus>sample string 8</AlertStatus>
  <ControlNote>sample string 7</ControlNote>
  <Description>sample string 6</Description>
  <DocumentsCount>10</DocumentsCount>
  <DrawingNo>sample string 2</DrawingNo>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <LastUploadedOn>2025-12-17T14:45:46.2894378+01:00</LastUploadedOn>
  <Name>sample string 3</Name>
  <PdfRef>sample string 11</PdfRef>
  <ProjectId>5</ProjectId>
</DrawingVm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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