POST api/Dimension/SaveDimensions

Request Information

URI Parameters

None.

Body Parameters

SaveDimensionsViewModel
NameDescriptionTypeAdditional information
MasterBranchCategoryId

integer

None.

FkMasterBranchId

integer

None.

DimensionTypeID

integer

None.

Number

integer

None.

DimensionName

string

None.

CustomerID

integer

None.

ManagerID

integer

None.

StartDate

date

None.

EndDate

date

None.

IsExternal

boolean

None.

IsInternal

boolean

None.

_MasterBranchCategoryId

string

None.

LanguageID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MasterBranchCategoryId": 1,
  "FkMasterBranchId": 2,
  "DimensionTypeID": 3,
  "Number": 4,
  "DimensionName": "sample string 5",
  "CustomerID": 6,
  "ManagerID": 7,
  "StartDate": "2021-10-27T06:39:18.0891734+01:00",
  "EndDate": "2021-10-27T06:39:18.0891734+01:00",
  "IsExternal": true,
  "IsInternal": true,
  "_MasterBranchCategoryId": "sample string 11",
  "LanguageID": 12
}

text/html

Sample:
{"MasterBranchCategoryId":1,"FkMasterBranchId":2,"DimensionTypeID":3,"Number":4,"DimensionName":"sample string 5","CustomerID":6,"ManagerID":7,"StartDate":"2021-10-27T06:39:18.0891734+01:00","EndDate":"2021-10-27T06:39:18.0891734+01:00","IsExternal":true,"IsInternal":true,"_MasterBranchCategoryId":"sample string 11","LanguageID":12}

application/xml, text/xml

Sample:
<SaveDimensionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel">
  <CustomerID>6</CustomerID>
  <DimensionName>sample string 5</DimensionName>
  <DimensionTypeID>3</DimensionTypeID>
  <EndDate>2021-10-27T06:39:18.0891734+01:00</EndDate>
  <FkMasterBranchId>2</FkMasterBranchId>
  <IsExternal>true</IsExternal>
  <IsInternal>true</IsInternal>
  <LanguageID>12</LanguageID>
  <ManagerID>7</ManagerID>
  <MasterBranchCategoryId>1</MasterBranchCategoryId>
  <Number>4</Number>
  <StartDate>2021-10-27T06:39:18.0891734+01:00</StartDate>
  <_MasterBranchCategoryId>sample string 11</_MasterBranchCategoryId>
</SaveDimensionsViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.