POST api/WebApp/GetLoyaltyBandDetailsFromWorkflow

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfLoyaltyBandsPayload
NameDescriptionTypeAdditional information
ReturnValue

LoyaltyBandsPayload

None.

ReturnType

string

None.

IsSuccess

boolean

None.

Message

string

None.

Schema

string

None.

UTCDate

date

None.

Token

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnValue": {
    "Status": "sample string 1",
    "Remarks": "sample string 2",
    "ToUser": "sample string 3",
    "ToRole": "sample string 4",
    "Action": "sample string 5",
    "RemarksHistory": "sample string 6",
    "WorkflowID": "sample string 7",
    "StartDate": "2024-11-28T04:50:25.5341832+03:00",
    "EndDate": "2024-11-28T04:50:25.5341832+03:00",
    "BandSlabs": [
      {
        "BandSlabID": 1,
        "LoyaltyBandID": "sample string 2",
        "LoyaltyPointsFrom": 3.0,
        "LoyaltyPointsTo": 4.0,
        "BandName": "sample string 5",
        "Active": "sample string 6",
        "CreatedBy": "sample string 7",
        "CreatedDate": "2024-11-28T04:50:25.5341832+03:00",
        "ModifiedBy": "sample string 9",
        "ModifiedDate": "2024-11-28T04:50:25.5341832+03:00",
        "RecOwnerOrgID": 11
      },
      {
        "BandSlabID": 1,
        "LoyaltyBandID": "sample string 2",
        "LoyaltyPointsFrom": 3.0,
        "LoyaltyPointsTo": 4.0,
        "BandName": "sample string 5",
        "Active": "sample string 6",
        "CreatedBy": "sample string 7",
        "CreatedDate": "2024-11-28T04:50:25.5341832+03:00",
        "ModifiedBy": "sample string 9",
        "ModifiedDate": "2024-11-28T04:50:25.5341832+03:00",
        "RecOwnerOrgID": 11
      }
    ],
    "BandMerchants": [
      {
        "LoyaltyBandID": "sample string 1",
        "MerchantID": 2,
        "Active": "sample string 3",
        "CreatedBy": "sample string 4",
        "CreatedDate": "2024-11-28T04:50:25.5341832+03:00",
        "ModifiedBy": "sample string 6",
        "ModifiedDate": "2024-11-28T04:50:25.5341832+03:00",
        "RecOwnerOrgID": 8
      },
      {
        "LoyaltyBandID": "sample string 1",
        "MerchantID": 2,
        "Active": "sample string 3",
        "CreatedBy": "sample string 4",
        "CreatedDate": "2024-11-28T04:50:25.5341832+03:00",
        "ModifiedBy": "sample string 6",
        "ModifiedDate": "2024-11-28T04:50:25.5341832+03:00",
        "RecOwnerOrgID": 8
      }
    ],
    "LoyaltyBandID": "sample string 10",
    "BandType": "sample string 11",
    "OrganizationID": 12,
    "BankID": 13,
    "LoyaltyBandStatus": "sample string 14",
    "CreatedBy": "sample string 15",
    "CreatedDate": "2024-11-28T04:50:25.5341832+03:00",
    "ModifiedBy": "sample string 17",
    "ModifiedDate": "2024-11-28T04:50:25.5341832+03:00",
    "RecOwnerOrgID": 19,
    "index": 20
  },
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T04:50:25.5341832+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfLoyaltyBandsPayloadcp3c2scg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <ResponseCode>sample string 7</ResponseCode>
  <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Payloads.Promotion">
    <BandType xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">sample string 11</BandType>
    <BankID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">13</BankID>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">sample string 15</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">2024-11-28T04:50:25.5341832+03:00</CreatedDate>
    <LoyaltyBandID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">sample string 10</LoyaltyBandID>
    <LoyaltyBandStatus xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">sample string 14</LoyaltyBandStatus>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">sample string 17</ModifiedBy>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">2024-11-28T04:50:25.5341832+03:00</ModifiedDate>
    <OrganizationID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">12</OrganizationID>
    <RecOwnerOrgID xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">19</RecOwnerOrgID>
    <index xmlns="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">20</index>
    <d2p1:Action>sample string 5</d2p1:Action>
    <d2p1:BandMerchants xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">
      <d3p1:PRM_LoyaltyBandMerchants>
        <d3p1:Active>sample string 3</d3p1:Active>
        <d3p1:CreatedBy>sample string 4</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:CreatedDate>
        <d3p1:LoyaltyBandID>sample string 1</d3p1:LoyaltyBandID>
        <d3p1:MerchantID>2</d3p1:MerchantID>
        <d3p1:ModifiedBy>sample string 6</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:ModifiedDate>
        <d3p1:RecOwnerOrgID>8</d3p1:RecOwnerOrgID>
      </d3p1:PRM_LoyaltyBandMerchants>
      <d3p1:PRM_LoyaltyBandMerchants>
        <d3p1:Active>sample string 3</d3p1:Active>
        <d3p1:CreatedBy>sample string 4</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:CreatedDate>
        <d3p1:LoyaltyBandID>sample string 1</d3p1:LoyaltyBandID>
        <d3p1:MerchantID>2</d3p1:MerchantID>
        <d3p1:ModifiedBy>sample string 6</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:ModifiedDate>
        <d3p1:RecOwnerOrgID>8</d3p1:RecOwnerOrgID>
      </d3p1:PRM_LoyaltyBandMerchants>
    </d2p1:BandMerchants>
    <d2p1:BandSlabs xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.PRM">
      <d3p1:PRM_LoyaltyBandSlabs>
        <d3p1:Active>sample string 6</d3p1:Active>
        <d3p1:BandName>sample string 5</d3p1:BandName>
        <d3p1:BandSlabID>1</d3p1:BandSlabID>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:CreatedDate>
        <d3p1:LoyaltyBandID>sample string 2</d3p1:LoyaltyBandID>
        <d3p1:LoyaltyPointsFrom>3</d3p1:LoyaltyPointsFrom>
        <d3p1:LoyaltyPointsTo>4</d3p1:LoyaltyPointsTo>
        <d3p1:ModifiedBy>sample string 9</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:ModifiedDate>
        <d3p1:RecOwnerOrgID>11</d3p1:RecOwnerOrgID>
      </d3p1:PRM_LoyaltyBandSlabs>
      <d3p1:PRM_LoyaltyBandSlabs>
        <d3p1:Active>sample string 6</d3p1:Active>
        <d3p1:BandName>sample string 5</d3p1:BandName>
        <d3p1:BandSlabID>1</d3p1:BandSlabID>
        <d3p1:CreatedBy>sample string 7</d3p1:CreatedBy>
        <d3p1:CreatedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:CreatedDate>
        <d3p1:LoyaltyBandID>sample string 2</d3p1:LoyaltyBandID>
        <d3p1:LoyaltyPointsFrom>3</d3p1:LoyaltyPointsFrom>
        <d3p1:LoyaltyPointsTo>4</d3p1:LoyaltyPointsTo>
        <d3p1:ModifiedBy>sample string 9</d3p1:ModifiedBy>
        <d3p1:ModifiedDate>2024-11-28T04:50:25.5341832+03:00</d3p1:ModifiedDate>
        <d3p1:RecOwnerOrgID>11</d3p1:RecOwnerOrgID>
      </d3p1:PRM_LoyaltyBandSlabs>
    </d2p1:BandSlabs>
    <d2p1:EndDate>2024-11-28T04:50:25.5341832+03:00</d2p1:EndDate>
    <d2p1:Remarks>sample string 2</d2p1:Remarks>
    <d2p1:RemarksHistory>sample string 6</d2p1:RemarksHistory>
    <d2p1:StartDate>2024-11-28T04:50:25.5341832+03:00</d2p1:StartDate>
    <d2p1:Status>sample string 1</d2p1:Status>
    <d2p1:ToRole>sample string 4</d2p1:ToRole>
    <d2p1:ToUser>sample string 3</d2p1:ToUser>
    <d2p1:WorkflowID>sample string 7</d2p1:WorkflowID>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfLoyaltyBandsPayloadcp3c2scg>