POST api/Form8849/AddForm8849

Request Information

URI Parameters

None.

Body Parameters

Form8849DTO
NameDescriptionTypeAdditional information
formKind

string

None.

id

integer

None.

formGuid

string

None.

monthTaxYear

string

None.

stepPath

string

None.

isAddressChange

boolean

None.

success

boolean

None.

refrenceNo

string

None.

registerTime

date

None.

registerUser

string

None.

schedule1PDF

string

None.

completed

boolean

None.

completeDate

date

None.

isPaymentAndReject

boolean

None.

submissionId

string

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.

paymentMethod

string

None.

isSendInvoiceEmail

boolean

None.

sendInvoiceEmailDateTime

date

None.

lastDateEmailSend

date

None.

isUpdatedByAgent

boolean

None.

businessId

integer

None.

formStatusId

integer

None.

serviceId

integer

None.

acountTypeId

integer

None.

sendIrs

boolean

None.

accept

boolean

None.

orderId

string

None.

agentId

string

None.

business

BusinessDTO

None.

formStatus

FormStatusDTO

None.

service

ServiceDTO

None.

acountType

AcountTypeDTO

None.

listPayment

Collection of Payment2290DTO

None.

listVehicle8849

Collection of Vehicle8849DTO

None.

permit

PermitDTO

None.

payment

Payment8849DTO

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 'form8849' with type 'Application.DTOs.Form8849DTO'. Path 'listVehicle8849[0]'.

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 'form8849' with type 'Application.DTOs.Form8849DTO'. Path 'listVehicle8849[0]'.

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.Vehicle8849DTO' 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.Vehicle8849DTO' 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 'Form8849DTO'.

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>