POST v1/Generic/CustomerPaymentInsert
Request Information
URI Parameters
None.
Body Parameters
Collection of CustomerPaymentInsertName | Description | Type | Additional information |
---|---|---|---|
CustomerPaymentDetailList | Collection of CustomerPaymentDetailInsert |
None. |
|
CustomerId | integer |
None. |
|
AmountBilled | decimal number |
None. |
|
RequestSource | string |
None. |
|
OrderNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "CustomerId": 3, "AmountBilled": 8.0, "CustomerPaymentDetailList": [ { "OrderId": 1, "PaymentLabel": "sample string 3", "AmountBilled": 4.0 }, { "OrderId": 1, "PaymentLabel": "sample string 3", "AmountBilled": 4.0 } ], "RequestSource": "sample string 26", "OrderNumber": "sample string 27" }, { "CustomerId": 3, "AmountBilled": 8.0, "CustomerPaymentDetailList": [ { "OrderId": 1, "PaymentLabel": "sample string 3", "AmountBilled": 4.0 }, { "OrderId": 1, "PaymentLabel": "sample string 3", "AmountBilled": 4.0 } ], "RequestSource": "sample string 26", "OrderNumber": "sample string 27" } ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of CustomerPaymentInsertResponseName | Description | Type | Additional information |
---|---|---|---|
CustomerPaymentId | integer |
None. |
|
CustomerPaymentNumber | string |
None. |
|
Error | MidnightErrorResponse |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CustomerPaymentId": 1, "CustomerPaymentNumber": "sample string 2", "Error": { "ErrorMessage": [ { "Key": "sample string 1", "Message": "sample string 2" }, { "Key": "sample string 1", "Message": "sample string 2" } ] } }, { "CustomerPaymentId": 1, "CustomerPaymentNumber": "sample string 2", "Error": { "ErrorMessage": [ { "Key": "sample string 1", "Message": "sample string 2" }, { "Key": "sample string 1", "Message": "sample string 2" } ] } } ]