POST api/FoodClaimView/UpdateFoodClaim

Request Information

URI Parameters

None.

Body Parameters

UpdateFoodClaimDTO
NameDescriptionTypeAdditional information
ClaimId

integer

None.

FoodClaimId

integer

None.

TravelDate

date

None.

Location

integer

None.

NoOfDays

integer

None.

Amount

decimal number

None.

Remarks

string

None.

WBS

integer

None.

TaxAmt

decimal number

None.

GSTIncluded

boolean

None.

FoodPlace

integer

None.

InvoiceNo

string

None.

GSTN

string

None.

CGSTAmt

decimal number

None.

SGSTAmt

decimal number

None.

IGSTAmt

decimal number

None.

intTypeOfVisit

integer

None.

TravelDateTo

date

None.

OtherFromCity

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClaimId": 1,
  "FoodClaimId": 2,
  "TravelDate": "2021-12-09T03:22:16.3878504+05:30",
  "Location": 4,
  "NoOfDays": 5,
  "Amount": 6.0,
  "Remarks": "sample string 7",
  "WBS": 8,
  "TaxAmt": 9.0,
  "GSTIncluded": true,
  "FoodPlace": 11,
  "InvoiceNo": "sample string 12",
  "GSTN": "sample string 13",
  "CGSTAmt": 14.0,
  "SGSTAmt": 15.0,
  "IGSTAmt": 16.0,
  "intTypeOfVisit": 17,
  "TravelDateTo": "2021-12-09T03:22:16.3878504+05:30",
  "OtherFromCity": "sample string 19",
  "Domain": "sample string 20"
}

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

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}