POST api/PaymentType

Post list of Payment Types.

Request Information

URI Parameters

None.

Body Parameters

Collection of ApiPaymentTypeInput
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

short_name

string

None.

outer_id

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "short_name": "sample string 3",
    "outer_id": "sample string 4"
  },
  {
    "id": 1,
    "name": "sample string 2",
    "short_name": "sample string 3",
    "outer_id": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiPaymentTypeInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ApiPaymentTypeInput>
    <id>1</id>
    <name>sample string 2</name>
    <short_name>sample string 3</short_name>
    <outer_id>sample string 4</outer_id>
  </ApiPaymentTypeInput>
  <ApiPaymentTypeInput>
    <id>1</id>
    <name>sample string 2</name>
    <short_name>sample string 3</short_name>
    <outer_id>sample string 4</outer_id>
  </ApiPaymentTypeInput>
</ArrayOfApiPaymentTypeInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.