POST api/ERPDataUpdate/AddCustomerLedger

Request Information

URI Parameters

None.

Body Parameters

CustomerLegder
NameDescriptionTypeAdditional information
GroupName

string

None.

ReferenceID

globally unique identifier

None.

IsInvalid

boolean

None.

CustomerCode

string

None.

Balance

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupName": "sample string 1",
  "ReferenceID": "feb4e500-12b2-4a6b-9ffb-bf7926124c04",
  "IsInvalid": false,
  "CustomerCode": "sample string 3",
  "Balance": 4.0
}

application/xml, text/xml

Sample:
<CustomerLegder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <Balance>4</Balance>
  <CustomerCode>sample string 3</CustomerCode>
  <GroupName>sample string 1</GroupName>
  <ReferenceID>feb4e500-12b2-4a6b-9ffb-bf7926124c04</ReferenceID>
</CustomerLegder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2024/09/19 17:25:35",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>