POST api/Values/EmpDistributorLinkInsert

Request Information

URI Parameters

None.

Body Parameters

dbmlEmpDistributorLink
NameDescriptionTypeAdditional information
EmpDistributorLinkKey

integer

None.

UpdateId

integer

None.

EmployeeId

integer

None.

DistributorId

integer

None.

ZZEmployeeName

string

None.

ZZDistributorName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpDistributorLinkKey": 1,
  "UpdateId": 1,
  "EmployeeId": 1,
  "DistributorId": 1,
  "ZZEmployeeName": "sample string 2",
  "ZZDistributorName": "sample string 3"
}

text/html

Sample:
{"EmpDistributorLinkKey":1,"UpdateId":1,"EmployeeId":1,"DistributorId":1,"ZZEmployeeName":"sample string 2","ZZDistributorName":"sample string 3"}

application/xml, text/xml

Sample:
<dbmlEmpDistributorLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema">
  <DistributorId>1</DistributorId>
  <EmpDistributorLinkKey>1</EmpDistributorLinkKey>
  <EmployeeId>1</EmployeeId>
  <UpdateId>1</UpdateId>
  <ZZDistributorName>sample string 3</ZZDistributorName>
  <ZZEmployeeName>sample string 2</ZZEmployeeName>
</dbmlEmpDistributorLink>

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 'dbmlEmpDistributorLink'.

Response Information

Resource Description

returndbmlEmpDistributorLink
NameDescriptionTypeAdditional information
objdbmlEmpDistributorLinkList

Collection of dbmlEmpDistributorLink

None.

objdbmlStatus

dbmlStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "objdbmlEmpDistributorLinkList": [
    {
      "EmpDistributorLinkKey": 1,
      "UpdateId": 1,
      "EmployeeId": 1,
      "DistributorId": 1,
      "ZZEmployeeName": "sample string 2",
      "ZZDistributorName": "sample string 3"
    },
    {
      "EmpDistributorLinkKey": 1,
      "UpdateId": 1,
      "EmployeeId": 1,
      "DistributorId": 1,
      "ZZEmployeeName": "sample string 2",
      "ZZDistributorName": "sample string 3"
    }
  ],
  "objdbmlStatus": {
    "StatusId": 1,
    "Status": "sample string 2",
    "PKId": 3,
    "Remark": "sample string 4"
  }
}

text/html

Sample:
{"objdbmlEmpDistributorLinkList":[{"EmpDistributorLinkKey":1,"UpdateId":1,"EmployeeId":1,"DistributorId":1,"ZZEmployeeName":"sample string 2","ZZDistributorName":"sample string 3"},{"EmpDistributorLinkKey":1,"UpdateId":1,"EmployeeId":1,"DistributorId":1,"ZZEmployeeName":"sample string 2","ZZDistributorName":"sample string 3"}],"objdbmlStatus":{"StatusId":1,"Status":"sample string 2","PKId":3,"Remark":"sample string 4"}}

application/xml, text/xml

Sample:
<returndbmlEmpDistributorLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimkenOrderService.Models">
  <objdbmlEmpDistributorLinkList xmlns:d2p1="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema">
    <d2p1:dbmlEmpDistributorLink>
      <d2p1:DistributorId>1</d2p1:DistributorId>
      <d2p1:EmpDistributorLinkKey>1</d2p1:EmpDistributorLinkKey>
      <d2p1:EmployeeId>1</d2p1:EmployeeId>
      <d2p1:UpdateId>1</d2p1:UpdateId>
      <d2p1:ZZDistributorName>sample string 3</d2p1:ZZDistributorName>
      <d2p1:ZZEmployeeName>sample string 2</d2p1:ZZEmployeeName>
    </d2p1:dbmlEmpDistributorLink>
    <d2p1:dbmlEmpDistributorLink>
      <d2p1:DistributorId>1</d2p1:DistributorId>
      <d2p1:EmpDistributorLinkKey>1</d2p1:EmpDistributorLinkKey>
      <d2p1:EmployeeId>1</d2p1:EmployeeId>
      <d2p1:UpdateId>1</d2p1:UpdateId>
      <d2p1:ZZDistributorName>sample string 3</d2p1:ZZDistributorName>
      <d2p1:ZZEmployeeName>sample string 2</d2p1:ZZEmployeeName>
    </d2p1:dbmlEmpDistributorLink>
  </objdbmlEmpDistributorLinkList>
  <objdbmlStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema">
    <d2p1:PKId>3</d2p1:PKId>
    <d2p1:Remark>sample string 4</d2p1:Remark>
    <d2p1:Status>sample string 2</d2p1:Status>
    <d2p1:StatusId>1</d2p1:StatusId>
  </objdbmlStatus>
</returndbmlEmpDistributorLink>