POST api/TravelClaim/GetInsertUpdateTravelClaim

Request Information

URI Parameters

None.

Body Parameters

GetInsertUpdateTravelClaimDTO
NameDescriptionTypeAdditional information
TravelDateFrom

date

Required

amount

decimal number

Required

TravelDateTo

date

Required

CityFrom

integer

Required

CityTo

integer

Required

Remarks

string

Required

ModeOfTravel

string

Required

WBS

string

Required

EmpID

string

Required

week

string

Required

Exceed_Amt

decimal number

Required

TaxAmt

decimal number

Required

GSTIncluded

boolean

Required

InvoiceNo

string

Required

GSTN

string

Required

CGSTAmt

decimal number

Required

SGSTAmt

decimal number

Required

IGSTAmt

decimal number

Required

intTypeOfVisit

integer

Required

OtherFromCity

string

Required

OtherToCity

string

Required

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "TravelDateFrom": "2021-11-27T01:26:21.3529255+05:30",
  "amount": 2.0,
  "TravelDateTo": "2021-11-27T01:26:21.3529255+05:30",
  "CityFrom": 4,
  "CityTo": 5,
  "Remarks": "sample string 6",
  "ModeOfTravel": "sample string 7",
  "WBS": "sample string 8",
  "EmpID": "sample string 9",
  "week": "sample string 10",
  "Exceed_Amt": 11.0,
  "TaxAmt": 12.0,
  "GSTIncluded": true,
  "InvoiceNo": "sample string 14",
  "GSTN": "sample string 15",
  "CGSTAmt": 16.0,
  "SGSTAmt": 17.0,
  "IGSTAmt": 18.0,
  "intTypeOfVisit": 19,
  "OtherFromCity": "sample string 20",
  "OtherToCity": "sample string 21",
  "Domain": "sample string 22"
}

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

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