POST api/Offices/Create

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
office
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OfficeName": "sample string 2",
  "Off_OfficerName": "sample string 3",
  "Off_Designation": "sample string 4",
  "Off_Level": 5,
  "Off_Address1": "sample string 6",
  "Off_District_Id_Fk": 7,
  "DI_District": "sample string 8",
  "Off_pincode": 1,
  "Off_Address2": "sample string 9",
  "Off_Email": "sample string 10",
  "Off_PhoneNumber": 1,
  "Off_Landline": "sample string 11",
  "Inactive": "sample string 12",
  "Off_UserId": 13,
  "Off_TS": "2024-12-27T06:34:08.6509587+05:30",
  "Off_LastEdited_UserId": 15,
  "Off_LastEdited_TS": "2024-12-27T06:34:08.6509587+05:30"
}

application/xml, text/xml

Sample:
<KHBOffice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <DI_District>sample string 8</DI_District>
  <Id>1</Id>
  <Inactive>sample string 12</Inactive>
  <Off_Address1>sample string 6</Off_Address1>
  <Off_Address2>sample string 9</Off_Address2>
  <Off_Designation>sample string 4</Off_Designation>
  <Off_District_Id_Fk>7</Off_District_Id_Fk>
  <Off_Email>sample string 10</Off_Email>
  <Off_Landline>sample string 11</Off_Landline>
  <Off_LastEdited_TS>2024-12-27T06:34:08.6509587+05:30</Off_LastEdited_TS>
  <Off_LastEdited_UserId>15</Off_LastEdited_UserId>
  <Off_Level>5</Off_Level>
  <Off_OfficerName>sample string 3</Off_OfficerName>
  <Off_PhoneNumber>1</Off_PhoneNumber>
  <Off_TS>2024-12-27T06:34:08.6509587+05:30</Off_TS>
  <Off_UserId>13</Off_UserId>
  <Off_pincode>1</Off_pincode>
  <OfficeName>sample string 2</OfficeName>
</KHBOffice>

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

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.