POST api/Store/GetAll
Request Information
URI Parameters
None.
Body Parameters
StoreLister| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of Store |
None. |
|
| SearchCriteria | Store |
None. |
|
| Pagination | Pagination |
None. |
Request Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"Name": "sample string 2",
"ContactPerson": "sample string 3",
"PhoneNumber": "sample string 4",
"AlternativePhoneNumber": "sample string 5",
"Status": "sample string 6",
"AddressId": 7,
"StoreTypeId": 8,
"StoreType": "sample string 9",
"PricingTierId": 10,
"ParentStoreId": 1,
"PricingTier": "sample string 11",
"IsActive": true,
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
},
{
"Id": 1,
"Name": "sample string 2",
"ContactPerson": "sample string 3",
"PhoneNumber": "sample string 4",
"AlternativePhoneNumber": "sample string 5",
"Status": "sample string 6",
"AddressId": 7,
"StoreTypeId": 8,
"StoreType": "sample string 9",
"PricingTierId": 10,
"ParentStoreId": 1,
"PricingTier": "sample string 11",
"IsActive": true,
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
}
],
"SearchCriteria": {
"Id": 1,
"Name": "sample string 2",
"ContactPerson": "sample string 3",
"PhoneNumber": "sample string 4",
"AlternativePhoneNumber": "sample string 5",
"Status": "sample string 6",
"AddressId": 7,
"StoreTypeId": 8,
"StoreType": "sample string 9",
"PricingTierId": 10,
"ParentStoreId": 1,
"PricingTier": "sample string 11",
"IsActive": true,
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
},
"Pagination": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4,
"TotalPage": 5,
"TotalRecord": 6
}
}
application/xml, text/xml
Sample:
<StoreLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain">
<List>
<Store>
<CreatedBy>14</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AddressId>7</AddressId>
<AlternativePhoneNumber>sample string 5</AlternativePhoneNumber>
<AuditId>13</AuditId>
<ContactPerson>sample string 3</ContactPerson>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<ParentStoreId>1</ParentStoreId>
<PhoneNumber>sample string 4</PhoneNumber>
<PricingTier>sample string 11</PricingTier>
<PricingTierId>10</PricingTierId>
<Status>sample string 6</Status>
<StoreType>sample string 9</StoreType>
<StoreTypeId>8</StoreTypeId>
</Store>
<Store>
<CreatedBy>14</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AddressId>7</AddressId>
<AlternativePhoneNumber>sample string 5</AlternativePhoneNumber>
<AuditId>13</AuditId>
<ContactPerson>sample string 3</ContactPerson>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<ParentStoreId>1</ParentStoreId>
<PhoneNumber>sample string 4</PhoneNumber>
<PricingTier>sample string 11</PricingTier>
<PricingTierId>10</PricingTierId>
<Status>sample string 6</Status>
<StoreType>sample string 9</StoreType>
<StoreTypeId>8</StoreTypeId>
</Store>
</List>
<Pagination>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pagination>
<SearchCriteria>
<CreatedBy>14</CreatedBy>
<LastModifiedBy>1</LastModifiedBy>
<AddressId>7</AddressId>
<AlternativePhoneNumber>sample string 5</AlternativePhoneNumber>
<AuditId>13</AuditId>
<ContactPerson>sample string 3</ContactPerson>
<Id>1</Id>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<ParentStoreId>1</ParentStoreId>
<PhoneNumber>sample string 4</PhoneNumber>
<PricingTier>sample string 11</PricingTier>
<PricingTierId>10</PricingTierId>
<Status>sample string 6</Status>
<StoreType>sample string 9</StoreType>
<StoreTypeId>8</StoreTypeId>
</SearchCriteria>
</StoreLister>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |