GET V3/odata/PaymentCondition({key})

Gets PaymentCondition entity by key

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

PaymentConditionId from PaymentCondition entity

integer

Required

Body Parameters

None.

Response Information

Resource Description

QicsUnity.Api.Areas.V3.Models.PaymentCondition
NameDescriptionTypeAdditional information
PaymentConditionId

Gets or sets PaymentConditionId

integer

64-bit signed integer

Code

Gets or sets code

string

Name

Gets or sets name

string

Description

Gets or sets description

string

PaymentConditionType

Gets or sets payment condition type

QicsUnity.Api.Areas.V3.Models.PaymentConditionType

PaymentTerm

Gets or sets payment term

integer

IsDefault

Gets or sets a value indicating whether payment condition is default

boolean

CompanyId

Gets or sets CompanyId

integer

64-bit signed integer

Response Formats

application/json, text/json

Sample:
{
  "PaymentConditionId": "1",
  "Code": "sample 2",
  "Name": "sample 3",
  "Description": "sample 4",
  "PaymentConditionType": "DirectDebit",
  "PaymentTerm": "5",
  "IsDefault": true,
  "CompanyId": "7"
}

application/xml, text/xml

Sample:
<PaymentCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models">
  <Code>sample 2</Code>
  <CompanyId>7</CompanyId>
  <Description>sample 4</Description>
  <IsDefault>true</IsDefault>
  <Name>sample 3</Name>
  <PaymentConditionId>1</PaymentConditionId>
  <PaymentConditionType>DirectDebit</PaymentConditionType>
  <PaymentTerm>5</PaymentTerm>
</PaymentCondition>