POST api/Logs/AddPayment

Request Information

URI Parameters

None.

Body Parameters

StoneFactoryAPI.Models.LogsModel+AddPayment
NameDescriptionTypeAdditional information
date

date

None.

startDate

date

None.

memberId

integer

None.

memberName

string

None.

packageId

integer

None.

packageName

string

None.

amount

integer

None.

currency

string

None.

reference

string

None.

addedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2026-06-12T17:06:23.9719584+05:30",
  "startDate": "2026-06-12T17:06:23.9719584+05:30",
  "memberId": 3,
  "memberName": "sample string 4",
  "packageId": 5,
  "packageName": "sample string 6",
  "amount": 7,
  "currency": "sample string 8",
  "reference": "sample string 9",
  "addedBy": 10
}

application/xml, text/xml

Sample:
<LogsModel.AddPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <addedBy>10</addedBy>
  <amount>7</amount>
  <currency>sample string 8</currency>
  <date>2026-06-12T17:06:23.9719584+05:30</date>
  <memberId>3</memberId>
  <memberName>sample string 4</memberName>
  <packageId>5</packageId>
  <packageName>sample string 6</packageName>
  <reference>sample string 9</reference>
  <startDate>2026-06-12T17:06:23.9719584+05:30</startDate>
</LogsModel.AddPayment>

multipart/form-data

Sample:
<LogsModel.AddPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><addedBy>10</addedBy><amount>7</amount><currency>sample string 8</currency><date>2026-06-12T17:06:23.9719584+05:30</date><memberId>3</memberId><memberName>sample string 4</memberName><packageId>5</packageId><packageName>sample string 6</packageName><reference>sample string 9</reference><startDate>2026-06-12T17:06:23.9719584+05:30</startDate></LogsModel.AddPayment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddPayment'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.