POST api/organizations/ggn/payment

Adds a new Payment.



Request Information

URI Parameters

None.



Body Parameters

A model describing the payment to add.

PaymentViewModel
NameDescriptionTypeAdditional information
Amount

integer

None.

CaseNumber

string

None.

LicensePlate

string

None.

ProjectId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1,
  "CaseNumber": "sample string 2",
  "LicensePlate": "sample string 3",
  "ProjectId": "sample string 4"
}

application/xml, text/xml

Sample:
<PaymentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.Organizations.GGN.ViewModels.P1">
  <Amount>1</Amount>
  <CaseNumber>sample string 2</CaseNumber>
  <LicensePlate>sample string 3</LicensePlate>
  <ProjectId>sample string 4</ProjectId>
</PaymentViewModel>

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 'PaymentViewModel'.



Response Information

Resource Description

IHttpActionResult

None.