POST api/Master/InsertClientsMaster

Request Information

URI Parameters

None.

Body Parameters

InsertClientsRequest
NameDescriptionTypeAdditional information
clientModel

ClientModel

None.

CompKey

integer

None.

Subsordemo

string

None.

YearKey

integer

None.

UserKey

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "clientModel": {
    "clientKey": 1,
    "clientCode": "sample string 2",
    "clientName": "sample string 3",
    "clientNameAr": "sample string 4",
    "clientPhone": "sample string 5",
    "clientMobile": "sample string 6",
    "clientEmail": "sample string 7",
    "clientAddr": "sample string 8",
    "clientWebsite": "sample string 9",
    "clientContact": "sample string 10",
    "clientCrlimit": 11.0,
    "clientType": "sample string 12",
    "clientShipto": "sample string 13",
    "clientEntryDt": "2026-04-02T05:20:54.4256956+04:00",
    "clientTaxnumb": "sample string 15",
    "clientPOBox": "sample string 16",
    "countryKey": 17,
    "countryName": "sample string 18",
    "clientGrpKey": 19,
    "clientValid": true,
    "clientDiscPerc": 21.0,
    "prodUomKey": 22,
    "prodUomName": "sample string 23",
    "prodUomPkQty": 24.0,
    "compKey": 25,
    "invClientOpList": [
      {
        "arHeadNmb": 1,
        "arDocTag": "sample string 2",
        "arDocPrefix": "sample string 3",
        "arDocNmb": 4,
        "arDocDate": "2026-04-02T05:20:54.4256956+04:00",
        "arDescrip": "sample string 6",
        "arReference": "sample string 7",
        "arAmount": 8.1,
        "clientKey": 9,
        "docPosted": "sample string 10",
        "currencyKey": 11,
        "currencyRate": 12.1,
        "yearKey": 13,
        "branchKey": 14,
        "paymteDays": 15,
        "userKey": 16,
        "opStartDate": "2026-04-02T05:20:54.4267077+04:00",
        "compKey": 18
      },
      {
        "arHeadNmb": 1,
        "arDocTag": "sample string 2",
        "arDocPrefix": "sample string 3",
        "arDocNmb": 4,
        "arDocDate": "2026-04-02T05:20:54.4256956+04:00",
        "arDescrip": "sample string 6",
        "arReference": "sample string 7",
        "arAmount": 8.1,
        "clientKey": 9,
        "docPosted": "sample string 10",
        "currencyKey": 11,
        "currencyRate": 12.1,
        "yearKey": 13,
        "branchKey": 14,
        "paymteDays": 15,
        "userKey": 16,
        "opStartDate": "2026-04-02T05:20:54.4267077+04:00",
        "compKey": 18
      }
    ],
    "YearKey": 26
  },
  "CompKey": 1,
  "Subsordemo": "sample string 2",
  "YearKey": 3,
  "UserKey": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.