POST api/BranchEmp

Request Information

URI Parameters

None.

Body Parameters

Collection of H_BranchEmpMapping
NameDescriptionTypeAdditional information
Id

integer

None.

EmpCode

string

None.

BranchCode

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "EmpCode": "sample string 2",
    "BranchCode": 3
  },
  {
    "Id": 1,
    "EmpCode": "sample string 2",
    "BranchCode": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfH_BranchEmpMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <H_BranchEmpMapping>
    <BranchCode>3</BranchCode>
    <EmpCode>sample string 2</EmpCode>
    <Id>1</Id>
  </H_BranchEmpMapping>
  <H_BranchEmpMapping>
    <BranchCode>3</BranchCode>
    <EmpCode>sample string 2</EmpCode>
    <Id>1</Id>
  </H_BranchEmpMapping>
</ArrayOfH_BranchEmpMapping>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'H_BranchEmpMapping[]'.

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.