POST api/Strata/SearchStructure
Search Structures, Structure Spec parameter is optional if not passed it returns all Structures, if any of spec passed it will filter the result accordingly. Example: api/Strata/SearchStructure?StructureType=2
Request Information
URI Parameters
None.
Body Parameters
SiteSpec| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchCountryID | string |
None. |
|
| SearchSiteStatusID | integer |
None. |
|
| UserIDResponsible | globally unique identifier |
None. |
|
| SearchStructureTypeID | integer |
None. |
|
| ShowHiddenStructures | boolean |
None. |
|
| selectedValue | integer |
None. |
|
| ModuleID | integer |
None. |
|
| ActionID | integer |
None. |
|
| _firstLoad | boolean |
None. |
|
| SearchString | string |
None. |
|
| SearchRegionID | integer |
None. |
|
| SearchCompanyID | integer |
None. |
|
| SearchSiteID | integer |
None. |
|
| SearchDeptID | Collection of integer |
None. |
|
| SearchSiteFinancialMonth | integer |
None. |
|
| SearchSiteStartDayOfWeek | integer |
None. |
|
| SearchSiteShiftStart | integer |
None. |
|
| SearchSiteTimezone | string |
None. |
|
| SearchSiteTimezoneToday | string |
None. |
|
| Layout | integer |
None. |
|
| Override | boolean |
None. |
|
| GetData | boolean |
None. |
|
| ixPage | integer |
None. |
|
| ixPageSize | integer |
None. |
|
| _isAlreadyPaged | boolean |
None. |
|
| _totalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SearchCountryID": "sample string 1",
"SearchSiteStatusID": 2,
"UserIDResponsible": "e8f8da4e-89ea-4eda-bbee-6e8d4752416b",
"SearchStructureTypeID": 3,
"ShowHiddenStructures": true,
"selectedValue": 5,
"ModuleID": 6,
"ActionID": 7,
"_firstLoad": true,
"SearchString": "sample string 9",
"SearchRegionID": 10,
"SearchCompanyID": 11,
"SearchSiteID": 12,
"SearchDeptID": [
1,
2
],
"SearchSiteFinancialMonth": 13,
"SearchSiteStartDayOfWeek": 14,
"SearchSiteShiftStart": 15,
"SearchSiteTimezone": "sample string 16",
"SearchSiteTimezoneToday": "sample string 17",
"Layout": 18,
"Override": true,
"GetData": true,
"ixPage": 21,
"ixPageSize": 22,
"_isAlreadyPaged": true,
"_totalCount": 24
}
application/xml, text/xml
Sample:
<SiteSpec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strata.Data">
<_isAlreadyPaged>true</_isAlreadyPaged>
<_totalCount>24</_totalCount>
<ixPage>21</ixPage>
<ixPageSize>22</ixPageSize>
<GetData>true</GetData>
<Layout>18</Layout>
<Override>true</Override>
<SearchCompanyID>11</SearchCompanyID>
<SearchDeptID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SearchDeptID>
<SearchRegionID>10</SearchRegionID>
<SearchSiteFinancialMonth>13</SearchSiteFinancialMonth>
<SearchSiteID>12</SearchSiteID>
<SearchSiteShiftStart>15</SearchSiteShiftStart>
<SearchSiteStartDayOfWeek>14</SearchSiteStartDayOfWeek>
<SearchSiteTimezone>sample string 16</SearchSiteTimezone>
<SearchSiteTimezoneToday>sample string 17</SearchSiteTimezoneToday>
<SearchString>sample string 9</SearchString>
<_firstLoad>true</_firstLoad>
<ActionID>7</ActionID>
<ModuleID>6</ModuleID>
<SearchStructureTypeID>3</SearchStructureTypeID>
<ShowHiddenStructures>true</ShowHiddenStructures>
<selectedValue>5</selectedValue>
<SearchCountryID>sample string 1</SearchCountryID>
<SearchSiteStatusID>2</SearchSiteStatusID>
<UserIDResponsible>e8f8da4e-89ea-4eda-bbee-6e8d4752416b</UserIDResponsible>
</SiteSpec>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Json Data
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.