GET api/abtraccustomapi/GetWorkSourceList?user={user}&password={password}&secretKey={secretKey}&filter={filter}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
user

string

Required

password

string

Required

secretKey

string

Required

filter

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APIDataWorkSource
NameDescriptionTypeAdditional information
WorkSourceID

integer

None.

WorkSourceName

string

None.

WorkSourceCurrent

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WorkSourceID": 1,
    "WorkSourceName": "sample string 2",
    "WorkSourceCurrent": true
  },
  {
    "WorkSourceID": 1,
    "WorkSourceName": "sample string 2",
    "WorkSourceCurrent": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPIDataWorkSource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abtrac6.Business.Models.APIDataModels">
  <APIDataWorkSource>
    <WorkSourceCurrent>true</WorkSourceCurrent>
    <WorkSourceID>1</WorkSourceID>
    <WorkSourceName>sample string 2</WorkSourceName>
  </APIDataWorkSource>
  <APIDataWorkSource>
    <WorkSourceCurrent>true</WorkSourceCurrent>
    <WorkSourceID>1</WorkSourceID>
    <WorkSourceName>sample string 2</WorkSourceName>
  </APIDataWorkSource>
</ArrayOfAPIDataWorkSource>