GET getDealsByShopId?shopId={shopId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Deal
NameDescriptionTypeAdditional information
DealId

integer

None.

PostDetail

string

None.

ImagePath

string

None.

ValidFrom

date

None.

ValidTo

date

None.

SoapId

integer

None.

StatusId

integer

None.

CreatedDate

date

None.

CreatedBy

integer

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DealId": 1,
    "PostDetail": "sample string 2",
    "ImagePath": "sample string 3",
    "ValidFrom": "2025-12-11T15:31:39.4713948+05:30",
    "ValidTo": "2025-12-11T15:31:39.4713948+05:30",
    "SoapId": 1,
    "StatusId": 1,
    "CreatedDate": "2025-12-11T15:31:39.4713948+05:30",
    "CreatedBy": 1,
    "UpdatedDate": "2025-12-11T15:31:39.4713948+05:30",
    "UpdatedBy": 1
  },
  {
    "DealId": 1,
    "PostDetail": "sample string 2",
    "ImagePath": "sample string 3",
    "ValidFrom": "2025-12-11T15:31:39.4713948+05:30",
    "ValidTo": "2025-12-11T15:31:39.4713948+05:30",
    "SoapId": 1,
    "StatusId": 1,
    "CreatedDate": "2025-12-11T15:31:39.4713948+05:30",
    "CreatedBy": 1,
    "UpdatedDate": "2025-12-11T15:31:39.4713948+05:30",
    "UpdatedBy": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDeal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaliYatraApi.DataAccess">
  <Deal>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2025-12-11T15:31:39.4713948+05:30</CreatedDate>
    <DealId>1</DealId>
    <ImagePath>sample string 3</ImagePath>
    <PostDetail>sample string 2</PostDetail>
    <SoapId>1</SoapId>
    <StatusId>1</StatusId>
    <UpdatedBy>1</UpdatedBy>
    <UpdatedDate>2025-12-11T15:31:39.4713948+05:30</UpdatedDate>
    <ValidFrom>2025-12-11T15:31:39.4713948+05:30</ValidFrom>
    <ValidTo>2025-12-11T15:31:39.4713948+05:30</ValidTo>
  </Deal>
  <Deal>
    <CreatedBy>1</CreatedBy>
    <CreatedDate>2025-12-11T15:31:39.4713948+05:30</CreatedDate>
    <DealId>1</DealId>
    <ImagePath>sample string 3</ImagePath>
    <PostDetail>sample string 2</PostDetail>
    <SoapId>1</SoapId>
    <StatusId>1</StatusId>
    <UpdatedBy>1</UpdatedBy>
    <UpdatedDate>2025-12-11T15:31:39.4713948+05:30</UpdatedDate>
    <ValidFrom>2025-12-11T15:31:39.4713948+05:30</ValidFrom>
    <ValidTo>2025-12-11T15:31:39.4713948+05:30</ValidTo>
  </Deal>
</ArrayOfDeal>