POST api/Subscription/Add

Request Information

URI Parameters

None.

Body Parameters

SubscriptionAddRequestModel
NameDescriptionTypeAdditional information
AppId

string

None.

ReportId

string

None.

Channel

integer

None.

BuildId

globally unique identifier

None.

UnitId

globally unique identifier

None.

RoomId

globally unique identifier

None.

BuildArea

decimal number

None.

PropertyType

integer

None.

CustomerId

string

None.

CustomerName

string

None.

CustomerPhone

string

None.

SubscriptionTime

string

None.

SubscriptionAmount

decimal number

None.

Commission

decimal number

None.

PayType

integer

None.

BankId

string

None.

LoanAmount

decimal number

None.

ReportEmployeeId

string

None.

FileList

string

None.

FounderID

globally unique identifier

None.

PartnerID

globally unique identifier

None.

FounderCommission

decimal number

None.

PartnerCommission

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "AppId": "sample string 1",
  "ReportId": "sample string 2",
  "Channel": 3,
  "BuildId": "1715f632-8a0c-471f-ac34-7887a0802d40",
  "UnitId": "8ed43b9a-af67-4d4f-b160-d13f7a3b0202",
  "RoomId": "627af89a-dd05-4036-844d-aae05a52aef3",
  "BuildArea": 7.0,
  "PropertyType": 8,
  "CustomerId": "sample string 9",
  "CustomerName": "sample string 10",
  "CustomerPhone": "sample string 11",
  "SubscriptionTime": "sample string 12",
  "SubscriptionAmount": 13.0,
  "Commission": 14.0,
  "PayType": 15,
  "BankId": "sample string 16",
  "LoanAmount": 17.0,
  "ReportEmployeeId": "sample string 18",
  "FileList": "sample string 19",
  "FounderID": "36975724-593f-4470-bd08-51fd2372ba07",
  "PartnerID": "dcb1b147-00a6-47d1-b373-8592748c90cf",
  "FounderCommission": 22.0,
  "PartnerCommission": 23.0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProcessorResultModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

Object

None.

TotalCount

integer

None.

Powers

Dictionary of string [key] and integer [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": {},
  "TotalCount": 5,
  "Powers": {
    "sample string 1": 2,
    "sample string 3": 4
  }
}