GET api/external/v1/Department?since={since}&DepartmentGUID={DepartmentGUID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
since | date |
None. |
|
DepartmentGUID | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of SFE.Common.PublicEntities.DepartmentVMName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
GUID | string |
None. |
|
Created | date |
None. |
|
Modified | date |
None. |
|
UserName | string |
None. |
|
Comments | string |
None. |
|
AlphaNumId | string |
None. |
|
Name | string |
None. |
|
Colour | string |
None. |
|
Takt | decimal number |
None. |
|
HideInPlanning | boolean |
None. |
|
ParentAlphaNumId | string |
None. |
|
ParentName | string |
None. |
|
ParentGUID | string |
None. |
|
ParentId | integer |
None. |
|
DailyGoal | integer |
None. |
|
GoalEfficiency | integer |
None. |
|
Monday | integer |
None. |
|
Tuesday | integer |
None. |
|
Wednesday | integer |
None. |
|
Thursday | integer |
None. |
|
Friday | integer |
None. |
|
Saturday | integer |
None. |
|
Sunday | integer |
None. |
|
GoalMonday | integer |
None. |
|
GoalTuesday | integer |
None. |
|
GoalWednesday | integer |
None. |
|
GoalThursday | integer |
None. |
|
GoalFriday | integer |
None. |
|
GoalSaturday | integer |
None. |
|
GoalSunday | integer |
None. |
|
MileStoneId | integer |
None. |
|
MileStoneAlphaNumId | string |
None. |
|
MileStoneName | string |
None. |
|
DepartmentId | integer |
None. |
|
DepartmentGUID | string |
None. |
|
DepartmentAlphaNumId | string |
None. |
|
ChildIds | Collection of integer |
None. |
|
Traits | Collection of SFE.Common.PublicEntities.DepartmentTraitWeightVM |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "guid": "sample string 1", "created": "2024-11-15T03:48:02.2143625Z", "modified": "2024-11-15T03:48:02.2143625Z", "userName": "sample string 3", "comments": "sample string 4", "alphaNumId": "sample string 5", "name": "sample string 6", "colour": "sample string 7", "takt": 8.0, "hideInPlanning": true, "parentAlphaNumId": "sample string 10", "parentName": "sample string 11", "parentGUID": "sample string 12", "parentId": 13, "dailyGoal": 1, "goalEfficiency": 14, "monday": 15, "tuesday": 16, "wednesday": 17, "thursday": 18, "friday": 19, "saturday": 20, "sunday": 21, "goalMonday": 22, "goalTuesday": 23, "goalWednesday": 24, "goalThursday": 25, "goalFriday": 26, "goalSaturday": 27, "goalSunday": 28, "mileStoneId": 29, "mileStoneAlphaNumId": "sample string 30", "mileStoneName": "sample string 31", "departmentId": 32, "departmentGUID": "sample string 33", "departmentAlphaNumId": "sample string 34", "childIds": [ 1, 2 ], "traits": [ { "alphaNumId": "sample string 1", "name": "sample string 2", "weight": 3 }, { "alphaNumId": "sample string 1", "name": "sample string 2", "weight": 3 } ] }, { "id": 1, "guid": "sample string 1", "created": "2024-11-15T03:48:02.2143625Z", "modified": "2024-11-15T03:48:02.2143625Z", "userName": "sample string 3", "comments": "sample string 4", "alphaNumId": "sample string 5", "name": "sample string 6", "colour": "sample string 7", "takt": 8.0, "hideInPlanning": true, "parentAlphaNumId": "sample string 10", "parentName": "sample string 11", "parentGUID": "sample string 12", "parentId": 13, "dailyGoal": 1, "goalEfficiency": 14, "monday": 15, "tuesday": 16, "wednesday": 17, "thursday": 18, "friday": 19, "saturday": 20, "sunday": 21, "goalMonday": 22, "goalTuesday": 23, "goalWednesday": 24, "goalThursday": 25, "goalFriday": 26, "goalSaturday": 27, "goalSunday": 28, "mileStoneId": 29, "mileStoneAlphaNumId": "sample string 30", "mileStoneName": "sample string 31", "departmentId": 32, "departmentGUID": "sample string 33", "departmentAlphaNumId": "sample string 34", "childIds": [ 1, 2 ], "traits": [ { "alphaNumId": "sample string 1", "name": "sample string 2", "weight": 3 }, { "alphaNumId": "sample string 1", "name": "sample string 2", "weight": 3 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfDepartmentVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Common.PublicEntities"> <DepartmentVM> <AlphaNumId>sample string 5</AlphaNumId> <ChildIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </ChildIds> <Colour>sample string 7</Colour> <Comments>sample string 4</Comments> <Created>2024-11-14T23:48:02.2143625-04:00</Created> <DailyGoal>1</DailyGoal> <DepartmentAlphaNumId>sample string 34</DepartmentAlphaNumId> <DepartmentGUID>sample string 33</DepartmentGUID> <DepartmentId>32</DepartmentId> <Friday>19</Friday> <GUID>sample string 1</GUID> <GoalEfficiency>14</GoalEfficiency> <GoalFriday>26</GoalFriday> <GoalMonday>22</GoalMonday> <GoalSaturday>27</GoalSaturday> <GoalSunday>28</GoalSunday> <GoalThursday>25</GoalThursday> <GoalTuesday>23</GoalTuesday> <GoalWednesday>24</GoalWednesday> <HideInPlanning>true</HideInPlanning> <Id>1</Id> <MileStoneAlphaNumId>sample string 30</MileStoneAlphaNumId> <MileStoneId>29</MileStoneId> <MileStoneName>sample string 31</MileStoneName> <Modified>2024-11-14T23:48:02.2143625-04:00</Modified> <Monday>15</Monday> <Name>sample string 6</Name> <ParentAlphaNumId>sample string 10</ParentAlphaNumId> <ParentGUID>sample string 12</ParentGUID> <ParentId>13</ParentId> <ParentName>sample string 11</ParentName> <Saturday>20</Saturday> <Sunday>21</Sunday> <Takt>8</Takt> <Thursday>18</Thursday> <Traits> <DepartmentTraitWeightVM> <AlphaNumId>sample string 1</AlphaNumId> <Name>sample string 2</Name> <Weight>3</Weight> </DepartmentTraitWeightVM> <DepartmentTraitWeightVM> <AlphaNumId>sample string 1</AlphaNumId> <Name>sample string 2</Name> <Weight>3</Weight> </DepartmentTraitWeightVM> </Traits> <Tuesday>16</Tuesday> <UserName>sample string 3</UserName> <Wednesday>17</Wednesday> </DepartmentVM> <DepartmentVM> <AlphaNumId>sample string 5</AlphaNumId> <ChildIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </ChildIds> <Colour>sample string 7</Colour> <Comments>sample string 4</Comments> <Created>2024-11-14T23:48:02.2143625-04:00</Created> <DailyGoal>1</DailyGoal> <DepartmentAlphaNumId>sample string 34</DepartmentAlphaNumId> <DepartmentGUID>sample string 33</DepartmentGUID> <DepartmentId>32</DepartmentId> <Friday>19</Friday> <GUID>sample string 1</GUID> <GoalEfficiency>14</GoalEfficiency> <GoalFriday>26</GoalFriday> <GoalMonday>22</GoalMonday> <GoalSaturday>27</GoalSaturday> <GoalSunday>28</GoalSunday> <GoalThursday>25</GoalThursday> <GoalTuesday>23</GoalTuesday> <GoalWednesday>24</GoalWednesday> <HideInPlanning>true</HideInPlanning> <Id>1</Id> <MileStoneAlphaNumId>sample string 30</MileStoneAlphaNumId> <MileStoneId>29</MileStoneId> <MileStoneName>sample string 31</MileStoneName> <Modified>2024-11-14T23:48:02.2143625-04:00</Modified> <Monday>15</Monday> <Name>sample string 6</Name> <ParentAlphaNumId>sample string 10</ParentAlphaNumId> <ParentGUID>sample string 12</ParentGUID> <ParentId>13</ParentId> <ParentName>sample string 11</ParentName> <Saturday>20</Saturday> <Sunday>21</Sunday> <Takt>8</Takt> <Thursday>18</Thursday> <Traits> <DepartmentTraitWeightVM> <AlphaNumId>sample string 1</AlphaNumId> <Name>sample string 2</Name> <Weight>3</Weight> </DepartmentTraitWeightVM> <DepartmentTraitWeightVM> <AlphaNumId>sample string 1</AlphaNumId> <Name>sample string 2</Name> <Weight>3</Weight> </DepartmentTraitWeightVM> </Traits> <Tuesday>16</Tuesday> <UserName>sample string 3</UserName> <Wednesday>17</Wednesday> </DepartmentVM> </ArrayOfDepartmentVM>