POST api/admin/departments/v1/edit

Request Information

URI Parameters

None.

Body Parameters

Department
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

Image

string

None.

LastModified

date

None.

TotalCount

integer

None.

SystemGenerated

boolean

None.

Notifiers

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Image": "sample string 4",
  "LastModified": "2025-12-10T09:36:16.7040963+00:00",
  "TotalCount": 6,
  "SystemGenerated": true,
  "Notifiers": "sample string 8"
}

application/xml, text/xml

Sample:
<Department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/vouvher_sales_api.Models.Tables">
  <Description>sample string 3</Description>
  <Id>1</Id>
  <Image>sample string 4</Image>
  <LastModified>2025-12-10T09:36:16.7040963+00:00</LastModified>
  <Name>sample string 2</Name>
  <Notifiers>sample string 8</Notifiers>
  <SystemGenerated>true</SystemGenerated>
  <TotalCount>6</TotalCount>
</Department>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.