POST api/ERPDataUpdate/AddCustomerBulkLedger

Request Information

URI Parameters

None.

Body Parameters

CustomerBulkLedger
NameDescriptionTypeAdditional information
GroupName

string

None.

ReferenceID

globally unique identifier

None.

IsInvalid

boolean

None.

CustomerBalance

Collection of CustomerBalance

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupName": "sample string 1",
  "ReferenceID": "8dd5e353-79a8-4198-a286-e4630c50a196",
  "IsInvalid": false,
  "CustomerBalance": [
    {
      "CustomerCode": "sample string 1",
      "Balance": 2.0,
      "IsInvalid": false
    },
    {
      "CustomerCode": "sample string 1",
      "Balance": 2.0,
      "IsInvalid": false
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerBulkLedger xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Orion">
  <CustomerBalance>
    <CustomerBalance>
      <Balance>2</Balance>
      <CustomerCode>sample string 1</CustomerCode>
    </CustomerBalance>
    <CustomerBalance>
      <Balance>2</Balance>
      <CustomerCode>sample string 1</CustomerCode>
    </CustomerBalance>
  </CustomerBalance>
  <GroupName>sample string 1</GroupName>
  <ReferenceID>8dd5e353-79a8-4198-a286-e4630c50a196</ReferenceID>
</CustomerBulkLedger>

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:22:43",
  "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>