customerPaymentJournal

POST {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/customerPaymentJournals/?tenant={{tenant}}

Request Params

KeyDatatypeRequiredDescription
tenantstring

Request Body

{"code"=>"GENERAL", "displayName"=>"GENERAL", "balancingAccountId"=>"00000000-0000-0000-0000-000000000000"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/customerPaymentJournals/$entity","@odata.etag":"W/\"JzIwOzEyOTAyMDU0MDMyMTExMDYwMTUzMTswMDsn\"","id":"dc1b6a90-44e3-ea11-bb43-000d3a2feca1","code":"GENERAL","displayName":"GENERAL","lastModifiedDateTime":"2022-12-30T11:37:25.363Z","balancingAccountId":"00000000-0000-0000-0000-000000000000","balancingAccountNumber":""}