PATCH api/MyAccount/Shopmybranch

Module : My Account; BE JIRA: ADINA-7242;ADINA-7471;ADINA-10156; This method is calling for Shop my branch drill down in Branch card for Home page.

Request Information

URI Parameters

None.

Body Parameters

ShopMyBranchRequestEntity
NameDescriptionTypeAdditional information
isShopMyBranch

boolean

None.

pageName

string

None.

pagination

PaginationForRPP

None.

searchText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "isShopMyBranch": true,
  "pageName": "sample string 2",
  "pagination": {
    "page": 1,
    "pageSize": 2,
    "defaultPageSize": 3,
    "totalItemCount": 4,
    "numberOfPages": 5,
    "PageSizeOptions": [
      1,
      2
    ]
  },
  "searchText": "sample string 3"
}

application/xml, text/xml

Sample:
<ShopMyBranchRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adi.BusinessEntities">
  <isShopMyBranch>true</isShopMyBranch>
  <pageName>sample string 2</pageName>
  <pagination>
    <PageSizeOptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </PageSizeOptions>
    <defaultPageSize>3</defaultPageSize>
    <numberOfPages>5</numberOfPages>
    <page>1</page>
    <pageSize>2</pageSize>
    <totalItemCount>4</totalItemCount>
  </pagination>
  <searchText>sample string 3</searchText>
</ShopMyBranchRequestEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ShopMyBranchRequestEntity'.

Response Information

Resource Description

CustomActionResultOfShopMyBranchResponseEntity
NameDescriptionTypeAdditional information
StatusCode

HttpStatusCode

None.

_data

ShopMyBranchResponseEntity

None.

Response Formats

application/json, text/json

Sample:

Sample not available.