POST api/ProjectSites

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SITE_CODE": 1,
  "SITE_NAME": "sample string 2",
  "BU_ID": 1,
  "LOCATION": "sample string 3",
  "PERIMETER": 1.0,
  "SITE_STATUS": "sample string 4",
  "BU_NAME": "sample string 5",
  "CREATEDDATE": "2025-01-11T12:49:27.7399882+03:00",
  "MODIFIEDDATE": "2025-01-11T12:49:27.7399882+03:00"
}

application/xml, text/xml

Sample:
<ProjectSites xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.HSSEManagemnt">
  <BU_ID>1</BU_ID>
  <BU_NAME>sample string 5</BU_NAME>
  <CREATEDDATE>2025-01-11T12:49:27.7399882+03:00</CREATEDDATE>
  <LOCATION>sample string 3</LOCATION>
  <MODIFIEDDATE>2025-01-11T12:49:27.7399882+03:00</MODIFIEDDATE>
  <PERIMETER>1</PERIMETER>
  <SITE_CODE>1</SITE_CODE>
  <SITE_NAME>sample string 2</SITE_NAME>
  <SITE_STATUS>sample string 4</SITE_STATUS>
</ProjectSites>

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