POST TakeOnBalance/Save

Saves the specified Take On Account Detail.

Request Information

URI Parameters

None.

Body Parameters

The Take On Account Detail.

Take On Account Detail
NameTypeAdditional informationDescription
ID integer

None.

TakeOnAccountGroups Collection of Take On Account Group

None.

TakeOnDate date

None.

TakeOnSuspenseAcountBalance nullable decimal

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TakeOnAccountGroups": [
    {
      "TakeOnAccountBalances": [
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        },
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        }
      ],
      "Order": 1,
      "AddUrl": "sample string 2",
      "Name": "sample string 3"
    },
    {
      "TakeOnAccountBalances": [
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        },
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        }
      ],
      "Order": 1,
      "AddUrl": "sample string 2",
      "Name": "sample string 3"
    }
  ],
  "TakeOnDate": "2021-10-20",
  "TakeOnSuspenseAcountBalance": 1.0
}

Response Information

Resource Description

Take On Account Detail
NameTypeAdditional informationDescription
ID integer

None.

TakeOnAccountGroups Collection of Take On Account Group

None.

TakeOnDate date

None.

TakeOnSuspenseAcountBalance nullable decimal

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TakeOnAccountGroups": [
    {
      "TakeOnAccountBalances": [
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        },
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        }
      ],
      "Order": 1,
      "AddUrl": "sample string 2",
      "Name": "sample string 3"
    },
    {
      "TakeOnAccountBalances": [
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        },
        {
          "ID": 1,
          "Name": "sample string 2",
          "GroupKey": 3,
          "Category": {
            "Comment": "sample string 1",
            "Order": 6,
            "Description": "sample string 7",
            "ID": 8,
            "Modified": "2021-10-20",
            "Created": "2021-10-20"
          },
          "AccountType": 1,
          "LinkId": 1,
          "Debit": 1.0,
          "Credit": 1.0,
          "EntryUrl": "sample string 4"
        }
      ],
      "Order": 1,
      "AddUrl": "sample string 2",
      "Name": "sample string 3"
    }
  ],
  "TakeOnDate": "2021-10-20",
  "TakeOnSuspenseAcountBalance": 1.0
}