POST api/Agreement/SaveAgreement

Lấy lịch sử thỏa thuận dịch vụ

Request Information

URI Parameters

None.

Body Parameters

LicenseAgreementBody
NameDescriptionTypeAdditional information
Data

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1"
}

text/xml

Sample:
<LicenseAgreementBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Param.Agreement">
  <Data>sample string 1</Data>
</LicenseAgreementBody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AgreementServiceResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Object

None.

ErrorCode

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {},
  "ErrorCode": "sample string 3",
  "Message": "sample string 4"
}

text/xml

Sample:
<AgreementServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Response">
  <Data />
  <ErrorCode>sample string 3</ErrorCode>
  <Message>sample string 4</Message>
  <Success>true</Success>
</AgreementServiceResult>