POST api/Worklocation/search
Request Information
URI Parameters
None.
Body Parameters
QueryParameterName | Description | Type | Additional information |
---|---|---|---|
PageNum | integer |
None. |
|
PageSize | integer |
None. |
|
Sort | Sort |
None. |
|
Sorts | Collection of Sort |
None. |
|
Filters | Collection of Filter |
None. |
|
extends | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfListOfWorkLocationDTOName | Description | Type | Additional information |
---|---|---|---|
isSuccess | boolean |
None. |
|
message | string |
None. |
|
jsonObj | Collection of WorkLocationDTO |
None. |
|
totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "isSuccess": true, "message": "sample string 2", "jsonObj": [ { "isNew": true, "WorkLocationCode": "sample string 2", "CompanyCode": "sample string 3", "CorporationCode": "sample string 4", "BillAccount": "sample string 5", "PoolId": "sample string 6", "PoolName": "sample string 7", "RegionCode": "sample string 8", "WorkLocationName": "sample string 9", "WorkLocationShortName": "sample string 10", "SameAsCompanyAddress": true, "Address": "Sample String 12", "Suite": "Sample String 13", "City": "sample string 14", "State": "sample string 15", "Country": "sample string 16", "Zip": "sample string 17", "Contactor": "sample string 18", "Phone": "sample string 19", "Fax": "sample string 20", "Email": "sample string 21", "RiskLevel": 1, "Notes": "sample string 22", "ValidFlag": true, "DateCreated": "2025-04-03T19:01:22.5895825-07:00", "CompanyName": "sample string 25", "Longitude": 1.1, "Latitude": 1.1, "DANoOfEmployee": 26, "Regulation": "sample string 27", "BillAccountAddress": "sample string 28", "ClientCode": "sample string 29", "HasEmployee": true, "ClientCode_2": "sample string 31", "BusinessUnitName": "sample string 32", "DivisionName": "sample string 33", "SubDivisionName": "sample string 34" }, { "isNew": true, "WorkLocationCode": "sample string 2", "CompanyCode": "sample string 3", "CorporationCode": "sample string 4", "BillAccount": "sample string 5", "PoolId": "sample string 6", "PoolName": "sample string 7", "RegionCode": "sample string 8", "WorkLocationName": "sample string 9", "WorkLocationShortName": "sample string 10", "SameAsCompanyAddress": true, "Address": "Sample String 12", "Suite": "Sample String 13", "City": "sample string 14", "State": "sample string 15", "Country": "sample string 16", "Zip": "sample string 17", "Contactor": "sample string 18", "Phone": "sample string 19", "Fax": "sample string 20", "Email": "sample string 21", "RiskLevel": 1, "Notes": "sample string 22", "ValidFlag": true, "DateCreated": "2025-04-03T19:01:22.5895825-07:00", "CompanyName": "sample string 25", "Longitude": 1.1, "Latitude": 1.1, "DANoOfEmployee": 26, "Regulation": "sample string 27", "BillAccountAddress": "sample string 28", "ClientCode": "sample string 29", "HasEmployee": true, "ClientCode_2": "sample string 31", "BusinessUnitName": "sample string 32", "DivisionName": "sample string 33", "SubDivisionName": "sample string 34" } ], "totalCount": 3 }
application/xml, text/xml
Sample:
<AsapResponseOfArrayOfWorkLocationDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common"> <isSuccess>true</isSuccess> <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <d2p1:WorkLocationDTO> <d2p1:Address>Sample String 12</d2p1:Address> <d2p1:BillAccount>sample string 5</d2p1:BillAccount> <d2p1:BillAccountAddress>sample string 28</d2p1:BillAccountAddress> <d2p1:BusinessUnitName>sample string 32</d2p1:BusinessUnitName> <d2p1:City>sample string 14</d2p1:City> <d2p1:ClientCode>sample string 29</d2p1:ClientCode> <d2p1:ClientCode_2>sample string 31</d2p1:ClientCode_2> <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode> <d2p1:CompanyName>sample string 25</d2p1:CompanyName> <d2p1:Contactor>sample string 18</d2p1:Contactor> <d2p1:CorporationCode>sample string 4</d2p1:CorporationCode> <d2p1:Country>sample string 16</d2p1:Country> <d2p1:DANoOfEmployee>26</d2p1:DANoOfEmployee> <d2p1:DateCreated>2025-04-03T19:01:22.5895825-07:00</d2p1:DateCreated> <d2p1:DivisionName>sample string 33</d2p1:DivisionName> <d2p1:Email>sample string 21</d2p1:Email> <d2p1:Fax>sample string 20</d2p1:Fax> <d2p1:HasEmployee>true</d2p1:HasEmployee> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Notes>sample string 22</d2p1:Notes> <d2p1:Phone>sample string 19</d2p1:Phone> <d2p1:PoolId>sample string 6</d2p1:PoolId> <d2p1:PoolName>sample string 7</d2p1:PoolName> <d2p1:RegionCode>sample string 8</d2p1:RegionCode> <d2p1:Regulation>sample string 27</d2p1:Regulation> <d2p1:RiskLevel>1</d2p1:RiskLevel> <d2p1:SameAsCompanyAddress>true</d2p1:SameAsCompanyAddress> <d2p1:State>sample string 15</d2p1:State> <d2p1:SubDivisionName>sample string 34</d2p1:SubDivisionName> <d2p1:Suite>Sample String 13</d2p1:Suite> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:WorkLocationCode>sample string 2</d2p1:WorkLocationCode> <d2p1:WorkLocationName>sample string 9</d2p1:WorkLocationName> <d2p1:WorkLocationShortName>sample string 10</d2p1:WorkLocationShortName> <d2p1:Zip>sample string 17</d2p1:Zip> <d2p1:isNew>true</d2p1:isNew> </d2p1:WorkLocationDTO> <d2p1:WorkLocationDTO> <d2p1:Address>Sample String 12</d2p1:Address> <d2p1:BillAccount>sample string 5</d2p1:BillAccount> <d2p1:BillAccountAddress>sample string 28</d2p1:BillAccountAddress> <d2p1:BusinessUnitName>sample string 32</d2p1:BusinessUnitName> <d2p1:City>sample string 14</d2p1:City> <d2p1:ClientCode>sample string 29</d2p1:ClientCode> <d2p1:ClientCode_2>sample string 31</d2p1:ClientCode_2> <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode> <d2p1:CompanyName>sample string 25</d2p1:CompanyName> <d2p1:Contactor>sample string 18</d2p1:Contactor> <d2p1:CorporationCode>sample string 4</d2p1:CorporationCode> <d2p1:Country>sample string 16</d2p1:Country> <d2p1:DANoOfEmployee>26</d2p1:DANoOfEmployee> <d2p1:DateCreated>2025-04-03T19:01:22.5895825-07:00</d2p1:DateCreated> <d2p1:DivisionName>sample string 33</d2p1:DivisionName> <d2p1:Email>sample string 21</d2p1:Email> <d2p1:Fax>sample string 20</d2p1:Fax> <d2p1:HasEmployee>true</d2p1:HasEmployee> <d2p1:Latitude>1.1</d2p1:Latitude> <d2p1:Longitude>1.1</d2p1:Longitude> <d2p1:Notes>sample string 22</d2p1:Notes> <d2p1:Phone>sample string 19</d2p1:Phone> <d2p1:PoolId>sample string 6</d2p1:PoolId> <d2p1:PoolName>sample string 7</d2p1:PoolName> <d2p1:RegionCode>sample string 8</d2p1:RegionCode> <d2p1:Regulation>sample string 27</d2p1:Regulation> <d2p1:RiskLevel>1</d2p1:RiskLevel> <d2p1:SameAsCompanyAddress>true</d2p1:SameAsCompanyAddress> <d2p1:State>sample string 15</d2p1:State> <d2p1:SubDivisionName>sample string 34</d2p1:SubDivisionName> <d2p1:Suite>Sample String 13</d2p1:Suite> <d2p1:ValidFlag>true</d2p1:ValidFlag> <d2p1:WorkLocationCode>sample string 2</d2p1:WorkLocationCode> <d2p1:WorkLocationName>sample string 9</d2p1:WorkLocationName> <d2p1:WorkLocationShortName>sample string 10</d2p1:WorkLocationShortName> <d2p1:Zip>sample string 17</d2p1:Zip> <d2p1:isNew>true</d2p1:isNew> </d2p1:WorkLocationDTO> </jsonObj> <message>sample string 2</message> <totalCount>3</totalCount> </AsapResponseOfArrayOfWorkLocationDTO3NYuOdgi>