POST api/Company/UpdateCompanyMargins?IdCompany={IdCompany}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IdCompany

integer

Required

Body Parameters

Collection of CompanyMargins
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Description

string

None.

Value

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Value": 5
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Description": "sample string 4",
    "Value": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompanyMargins xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSPOS.MODELS">
  <CompanyMargins>
    <Code>sample string 2</Code>
    <Description>sample string 4</Description>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Value>5</Value>
  </CompanyMargins>
  <CompanyMargins>
    <Code>sample string 2</Code>
    <Description>sample string 4</Description>
    <Id>1</Id>
    <Name>sample string 3</Name>
    <Value>5</Value>
  </CompanyMargins>
</ArrayOfCompanyMargins>

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.