POST api/TravelClaimView/UpdateTravelClaim

Request Information

URI Parameters

None.

Body Parameters

UpdateTravelClaimDTO
NameDescriptionTypeAdditional information
ClaimId

integer

None.

TravelClaimId

integer

None.

TravelDateFrom

date

None.

amount

decimal number

None.

TravelDateTo

date

None.

CityFrom

integer

None.

CityTo

integer

None.

Remarks

string

None.

ModeOfTravel

string

None.

WBS

string

None.

TaxAmt

decimal number

None.

GSTIncluded

boolean

None.

InvoiceNo

string

None.

GSTN

string

None.

CGSTAmt

decimal number

None.

SGSTAmt

decimal number

None.

IGSTAmt

decimal number

None.

intTypeOfVisit

integer

None.

OtherFromCity

string

None.

OtherToCity

string

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClaimId": 1,
  "TravelClaimId": 2,
  "TravelDateFrom": "2021-11-27T01:57:57.4324655+05:30",
  "amount": 4.0,
  "TravelDateTo": "2021-11-27T01:57:57.4324655+05:30",
  "CityFrom": 6,
  "CityTo": 7,
  "Remarks": "sample string 8",
  "ModeOfTravel": "sample string 9",
  "WBS": "sample string 10",
  "TaxAmt": 11.0,
  "GSTIncluded": true,
  "InvoiceNo": "sample string 13",
  "GSTN": "sample string 14",
  "CGSTAmt": 15.0,
  "SGSTAmt": 16.0,
  "IGSTAmt": 17.0,
  "intTypeOfVisit": 18,
  "OtherFromCity": "sample string 19",
  "OtherToCity": "sample string 20",
  "Domain": "sample string 21"
}

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

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": {}
}