GET api/LocalDepartment?accountId={accountId}&sorted={sorted}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
sorted | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LocalDepartmentName | Description | Type | Additional 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. |
Response 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:44:25.8102685+00:00", "ModifiedBy": "sample string 10", "ModifiedTimestamp": "2024-11-21T08:44:25.8102685+00:00", "DataStateFlag": "sample string 11" }, { "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:44:25.8102685+00:00", "ModifiedBy": "sample string 10", "ModifiedTimestamp": "2024-11-21T08:44:25.8102685+00:00", "DataStateFlag": "sample string 11" } ]
application/xml, text/xml
Sample:
<ArrayOfLocalDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Department"> <LocalDepartment> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:44:25.8102685Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:44:25.8102685Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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> <LocalDepartment> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:44:25.8102685Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:44:25.8102685Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1: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> </ArrayOfLocalDepartment>