POST api/Form2290/AddForm2290

Request Information

URI Parameters

None.

Body Parameters

Form2290DTO
NameDescriptionTypeAdditional information
formKind

string

None.

id

integer

None.

formGuid

string

None.

addressChange

boolean

None.

finalReturn

boolean

None.

vinCorrection

boolean

None.

increaseGrossWeight

boolean

None.

mileageExceeded

boolean

None.

taxableVehicles

boolean

None.

suspendedVehicles

boolean

None.

totalAmountPrice

string

None.

eFW

boolean

None.

eFTPS

boolean

None.

creaditCard

boolean

None.

checkOfMoneyOrder

boolean

None.

bankRoutingNumber

string

None.

bankAccountNumber

string

None.

taxPayerDayTimePhone

string

None.

requestPaymentDate

date

None.

stepPath

string

None.

suspendedVehicleCnt

integer

None.

taxableVehicleCnt

integer

None.

monthId

integer

None.

yearId

integer

None.

businessId

integer

None.

serviceId

integer

None.

acountTypeId

integer

None.

formStatusId

integer

None.

success

boolean

None.

refrenceNo

string

None.

accept

boolean

None.

schedule1PDF

string

None.

schedule1PdfName

string

None.

paymentMethod

string

None.

registerTime

date

None.

registerUser

string

None.

orderId

string

None.

submisionId

string

None.

agentId

string

None.

completeDate

date

None.

completed

boolean

None.

sendIrs

boolean

None.

isAccept

boolean

None.

isPaymentAndReject

boolean

None.

isSendInvoiceEmail

boolean

None.

sendInvoiceEmailDateTime

date

None.

lastDateEmailSend

date

None.

isUpdatedByAgent

boolean

None.

month

MonthDTO

None.

year

YearDTO

None.

business

BusinessDTO

None.

service

ServiceDTO

None.

acountType

AcountTypeDTO

None.

vehicle2290

Vehicle2290DTO

None.

formStatus

FormStatusDTO

None.

listPayment

Collection of Payment2290DTO

None.

listVehicle2290

Collection of Vehicle2290DTO

None.

permit

PermitDTO

None.

payment

Payment2290DTO

None.

user

UserDTO

None.

listFormNote

Collection of FormNoteDTO

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'form2290' with type 'Application.DTOs.Form2290DTO'. Path 'vehicle2290'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'form2290' with type 'Application.DTOs.Form2290DTO'. Path 'vehicle2290'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Application.DTOs.Vehicle2290DTO' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Application.DTOs.Vehicle2290DTO' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IdentityResultDTO
NameDescriptionTypeAdditional information
success

boolean

None.

errorMessage

string

None.

error

Collection of string

None.

result

string

None.

resultObject

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errorMessage": "sample string 2",
  "error": [
    "sample string 1",
    "sample string 2"
  ],
  "result": "sample string 3",
  "resultObject": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<IdentityResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
  <error xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </error>
  <errorMessage>sample string 2</errorMessage>
  <result>sample string 3</result>
  <resultObject xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </resultObject>
  <success>true</success>
</IdentityResultDTO>