POST api/v1/AdjustCustomerPoints

Request Information

URI Parameters

None.

Body Parameters

AdjustCustomerPoints
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Card

string

None.

CurrentPoint

decimal number

None.

NewPoint

decimal number

None.

CurrentCredit

decimal number

None.

NewCredit

decimal number

None.

Type

integer

None.

Plan

integer

None.

Value

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Card": "sample string 3",
  "CurrentPoint": 4.0,
  "NewPoint": 5.0,
  "CurrentCredit": 6.0,
  "NewCredit": 7.0,
  "Type": 8,
  "Plan": 9,
  "Value": 10.0
}

application/xml, text/xml

Sample:
<AdjustCustomerPoints xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPOS.DataService.Controllers">
  <Card>sample string 3</Card>
  <CurrentCredit>6</CurrentCredit>
  <CurrentPoint>4</CurrentPoint>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <NewCredit>7</NewCredit>
  <NewPoint>5</NewPoint>
  <Plan>9</Plan>
  <Type>8</Type>
  <Value>10</Value>
</AdjustCustomerPoints>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiReturnStatus
NameDescriptionTypeAdditional information
Result

boolean

None.

Status

integer

None.

Msg

string

None.

ID

string

None.

Data

Object

None.

ExtraData

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "Status": 2,
  "Msg": "sample string 3",
  "ID": "sample string 4",
  "Data": {},
  "ExtraData": {}
}

application/xml, text/xml

Sample:
<ApiReturnStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPOS.DataService.Models">
  <Data />
  <ExtraData />
  <ID>sample string 4</ID>
  <Msg>sample string 3</Msg>
  <Result>true</Result>
  <Status>2</Status>
</ApiReturnStatus>