POST api/PIMS/UpdateEntity

Request Information

URI Parameters

None.

Body Parameters

Entity
NameDescriptionTypeAdditional information
EntityID

integer

None.

EntityName

string

None.

isDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityID": 1,
  "EntityName": "sample string 2",
  "isDelete": true
}

application/xml, text/xml

Sample:
<Entity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO">
  <EntityID>1</EntityID>
  <EntityName>sample string 2</EntityName>
  <isDelete>true</isDelete>
</Entity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>