POST api/CurrentAffair/SaveCurrentAffair

Request Information

URI Parameters

None.

Body Parameters

CurrentAffair
NameDescriptionTypeAdditional information
SecurityKey

string

None.

AffairId

integer

None.

CategoryId

integer

None.

Affair

string

None.

AffairDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityKey": "sample string 1",
  "AffairId": 2,
  "CategoryId": 3,
  "Affair": "sample string 4",
  "AffairDate": "2025-12-11T15:13:11.5370149-08:00"
}

text/html

Sample:
{"SecurityKey":"sample string 1","AffairId":2,"CategoryId":3,"Affair":"sample string 4","AffairDate":"2025-12-11T15:13:11.5370149-08:00"}

application/xml, text/xml

Sample:
<CurrentAffair xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dnyanved.Core.Model">
  <Affair>sample string 4</Affair>
  <AffairDate>2025-12-11T15:13:11.5370149-08:00</AffairDate>
  <AffairId>2</AffairId>
  <CategoryId>3</CategoryId>
  <SecurityKey>sample string 1</SecurityKey>
</CurrentAffair>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

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