PUT api/LocalDepartment

Request Information

URI Parameters

None.

Body Parameters

LocalDepartment
NameDescriptionTypeAdditional information
AccountId

integer

None.

Name

string

Required

Description

string

None.

GlobalId

integer

None.

GlobalName

string

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "GlobalId": 4,
  "GlobalName": "sample string 5",
  "Id": 6,
  "Status": "sample string 7",
  "CreatedBy": "sample string 8",
  "CreateTimestamp": "2024-11-21T08:55:40.0789706+00:00",
  "ModifiedBy": "sample string 10",
  "ModifiedTimestamp": "2024-11-21T08:55:40.0789706+00:00",
  "DataStateFlag": "sample string 11"
}

application/xml, text/xml

Sample:
<LocalDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Department">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
    <d2p1:DateTime>2024-11-21T08:55:40.0789706Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 8</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 11</DataStateFlag>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">6</Id>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 10</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">
    <d2p1:DateTime>2024-11-21T08:55:40.0789706Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 7</Status>
  <AccountId>1</AccountId>
  <Description>sample string 3</Description>
  <GlobalId>4</GlobalId>
  <GlobalName>sample string 5</GlobalName>
  <Name>sample string 2</Name>
</LocalDepartment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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