GET api/v1/sainvoices/{refId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
refId

globally unique identifier

Required

Body Parameters

None.

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>