POST api/paymenttypes/manage
Request Information
URI Parameters
None.
Body Parameters
PaymentType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| Category | integer |
None. |
|
| CreatesDebit | boolean |
None. |
|
| DebitType | byte |
None. |
|
| PMSDebitorId1 | string |
None. |
|
| PMSDebitorId2 | string |
None. |
|
| PMSDebitorType | string |
None. |
|
| IsMaison | boolean |
None. |
|
| ExtReference | string |
None. |
|
| IsActive | boolean |
None. |
|
| UseCrossPosting | boolean |
None. |
|
| InvReportIdCopy1 | integer |
None. |
|
| InvReportIdCopy2 | integer |
None. |
|
| PMSValidateCustomer | boolean |
None. |
|
| InvTypeId | integer |
None. |
|
| ExtReference2 | string |
None. |
|
| EFTPosTerminalId | integer |
None. |
|
| CreatesReverseCredit | boolean |
None. |
|
| ReverseCreditCuFlId | integer |
None. |
|
| InvoicePaymentCategoryId | integer |
None. |
|
| AskForTips | boolean |
None. |
|
| ExtReference3 | string |
None. |
|
| EFTPosTerminalCardTypeCode | string |
None. |
|
| EFTPosTerminalPaymentType | string |
None. |
|
| CustomerType | CFTypes |
None. |
|
| PropertyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"Category": 3,
"CreatesDebit": true,
"DebitType": 64,
"PMSDebitorId1": "sample string 6",
"PMSDebitorId2": "sample string 7",
"PMSDebitorType": "sample string 8",
"IsMaison": true,
"ExtReference": "sample string 10",
"IsActive": true,
"UseCrossPosting": true,
"InvReportIdCopy1": 13,
"InvReportIdCopy2": 14,
"PMSValidateCustomer": true,
"InvTypeId": 16,
"ExtReference2": "sample string 17",
"EFTPosTerminalId": 18,
"CreatesReverseCredit": true,
"ReverseCreditCuFlId": 20,
"InvoicePaymentCategoryId": 21,
"AskForTips": true,
"ExtReference3": "sample string 23",
"EFTPosTerminalCardTypeCode": "sample string 24",
"EFTPosTerminalPaymentType": "sample string 25",
"CustomerType": 0,
"PropertyId": 26
}
application/xml, text/xml
Sample:
<PaymentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <AskForTips>true</AskForTips> <Category>3</Category> <CreatesDebit>true</CreatesDebit> <CreatesReverseCredit>true</CreatesReverseCredit> <CustomerType>Inhouse</CustomerType> <DebitType>64</DebitType> <Description>sample string 2</Description> <EFTPosTerminalCardTypeCode>sample string 24</EFTPosTerminalCardTypeCode> <EFTPosTerminalId>18</EFTPosTerminalId> <EFTPosTerminalPaymentType>sample string 25</EFTPosTerminalPaymentType> <ExtReference>sample string 10</ExtReference> <ExtReference2>sample string 17</ExtReference2> <ExtReference3>sample string 23</ExtReference3> <Id>1</Id> <InvReportIdCopy1>13</InvReportIdCopy1> <InvReportIdCopy2>14</InvReportIdCopy2> <InvTypeId>16</InvTypeId> <InvoicePaymentCategoryId>21</InvoicePaymentCategoryId> <IsActive>true</IsActive> <IsMaison>true</IsMaison> <PMSDebitorId1>sample string 6</PMSDebitorId1> <PMSDebitorId2>sample string 7</PMSDebitorId2> <PMSDebitorType>sample string 8</PMSDebitorType> <PMSValidateCustomer>true</PMSValidateCustomer> <PropertyId>26</PropertyId> <ReverseCreditCuFlId>20</ReverseCreditCuFlId> <UseCrossPosting>true</UseCrossPosting> </PaymentType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| Category | integer |
None. |
|
| CreatesDebit | boolean |
None. |
|
| DebitType | byte |
None. |
|
| PMSDebitorId1 | string |
None. |
|
| PMSDebitorId2 | string |
None. |
|
| PMSDebitorType | string |
None. |
|
| IsMaison | boolean |
None. |
|
| ExtReference | string |
None. |
|
| IsActive | boolean |
None. |
|
| UseCrossPosting | boolean |
None. |
|
| InvReportIdCopy1 | integer |
None. |
|
| InvReportIdCopy2 | integer |
None. |
|
| PMSValidateCustomer | boolean |
None. |
|
| InvTypeId | integer |
None. |
|
| ExtReference2 | string |
None. |
|
| EFTPosTerminalId | integer |
None. |
|
| CreatesReverseCredit | boolean |
None. |
|
| ReverseCreditCuFlId | integer |
None. |
|
| InvoicePaymentCategoryId | integer |
None. |
|
| AskForTips | boolean |
None. |
|
| ExtReference3 | string |
None. |
|
| EFTPosTerminalCardTypeCode | string |
None. |
|
| EFTPosTerminalPaymentType | string |
None. |
|
| CustomerType | CFTypes |
None. |
|
| PropertyId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Description": "sample string 2",
"Category": 3,
"CreatesDebit": true,
"DebitType": 64,
"PMSDebitorId1": "sample string 6",
"PMSDebitorId2": "sample string 7",
"PMSDebitorType": "sample string 8",
"IsMaison": true,
"ExtReference": "sample string 10",
"IsActive": true,
"UseCrossPosting": true,
"InvReportIdCopy1": 13,
"InvReportIdCopy2": 14,
"PMSValidateCustomer": true,
"InvTypeId": 16,
"ExtReference2": "sample string 17",
"EFTPosTerminalId": 18,
"CreatesReverseCredit": true,
"ReverseCreditCuFlId": 20,
"InvoicePaymentCategoryId": 21,
"AskForTips": true,
"ExtReference3": "sample string 23",
"EFTPosTerminalCardTypeCode": "sample string 24",
"EFTPosTerminalPaymentType": "sample string 25",
"CustomerType": 0,
"PropertyId": 26
}
application/xml, text/xml
Sample:
<PaymentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <AskForTips>true</AskForTips> <Category>3</Category> <CreatesDebit>true</CreatesDebit> <CreatesReverseCredit>true</CreatesReverseCredit> <CustomerType>Inhouse</CustomerType> <DebitType>64</DebitType> <Description>sample string 2</Description> <EFTPosTerminalCardTypeCode>sample string 24</EFTPosTerminalCardTypeCode> <EFTPosTerminalId>18</EFTPosTerminalId> <EFTPosTerminalPaymentType>sample string 25</EFTPosTerminalPaymentType> <ExtReference>sample string 10</ExtReference> <ExtReference2>sample string 17</ExtReference2> <ExtReference3>sample string 23</ExtReference3> <Id>1</Id> <InvReportIdCopy1>13</InvReportIdCopy1> <InvReportIdCopy2>14</InvReportIdCopy2> <InvTypeId>16</InvTypeId> <InvoicePaymentCategoryId>21</InvoicePaymentCategoryId> <IsActive>true</IsActive> <IsMaison>true</IsMaison> <PMSDebitorId1>sample string 6</PMSDebitorId1> <PMSDebitorId2>sample string 7</PMSDebitorId2> <PMSDebitorType>sample string 8</PMSDebitorType> <PMSValidateCustomer>true</PMSValidateCustomer> <PropertyId>26</PropertyId> <ReverseCreditCuFlId>20</ReverseCreditCuFlId> <UseCrossPosting>true</UseCrossPosting> </PaymentType>