POST api/v1/promotions/paging

Request Information

URI Parameters

None.

Body Parameters

GraphPromotionPagingParam
NameDescriptionTypeAdditional information
BranchId

globally unique identifier

None.

Page

Số trang lấy dữ liệu

integer

None.

Limit

Số lượng bản ghi giới hạn

integer

None.

LastSyncDate

date

None.

Version

Phiên bản

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": "c4d9a5fa-8c72-427f-8946-263c1780727a",
  "Page": 1,
  "Limit": 2,
  "LastSyncDate": "2025-06-25T21:44:19.1191195+07:00",
  "Version": "sample string 3"
}

text/html

Sample:
{
  "BranchId": "c4d9a5fa-8c72-427f-8946-263c1780727a",
  "Page": 1,
  "Limit": 2,
  "LastSyncDate": "2025-06-25T21:44:19.1195299+07:00",
  "Version": "sample string 3"
}

application/xml, text/xml

Sample:
<GraphPromotionPagingParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <Version>sample string 3</Version>
  <LastSyncDate>2025-06-25T21:44:19.1195299+07:00</LastSyncDate>
  <Limit>2</Limit>
  <Page>1</Page>
  <BranchID>c4d9a5fa-8c72-427f-8946-263c1780727a</BranchID>
</GraphPromotionPagingParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GraphServiceActionResult
NameDescriptionTypeAdditional information
Code

Mã HTTP trả về cho client

HttpStatusCode

None.

ErrorType

Loại lỗi

GrapAPIServiceErrorType

None.

ErrorMessage

Thông tin lỗi

string

None.

Data

Dữ liệu trả về cho client

Object

None.

Total

Tổng số bản ghi trên grid

integer

None.

Success

Thực thi Service thành công

boolean

None.

PrimaryKeyValue

Trả về ID của đối tượng khi cất thành công Phục vụ cho việc cập nhật ID của record trên grid sau khi thêm đối tượng

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{
  "Code": 100,
  "ErrorType": 0,
  "ErrorMessage": "sample string 1",
  "Data": {},
  "Total": 3,
  "Success": true,
  "PrimaryKeyValue": {}
}

application/xml, text/xml

Sample:
<GraphServiceActionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <ActionType>Login</ActionType>
  <Code>Continue</Code>
  <Data />
  <ErrorMessage>sample string 1</ErrorMessage>
  <ErrorType>None</ErrorType>
  <PrimaryKeyValue />
  <ServerExceptionTraceMessage>sample string 6</ServerExceptionTraceMessage>
  <Success>true</Success>
  <Total>3</Total>
</GraphServiceActionResult>