POST api/Account/SubmitExceptionForm

Request Information

URI Parameters

None.

Body Parameters

SubmitExceptionFormInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

SiteUserID

integer

None.

DepositState

string

None.

Period

string

None.

ExceptionFormID

integer

None.

FormElements

Collection of ExceptionFormElement

None.

FormElementsSerialized

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "SiteUserID": 2,
  "DepositState": "sample string 3",
  "Period": "sample string 4",
  "ExceptionFormID": 5,
  "FormElements": [
    {
      "ElementID": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "ElementID": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "FormElementsSerialized": "sample string 6"
}

text/html

Sample:
{"SessionID":"sample string 1","SiteUserID":2,"DepositState":"sample string 3","Period":"sample string 4","ExceptionFormID":5,"FormElements":[{"ElementID":"sample string 1","Value":"sample string 2"},{"ElementID":"sample string 1","Value":"sample string 2"}],"FormElementsSerialized":"sample string 6"}

application/xml, text/xml

Sample:
<SubmitExceptionFormInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <DepositState>sample string 3</DepositState>
  <ExceptionFormID>5</ExceptionFormID>
  <FormElements>
    <ExceptionFormElement>
      <ElementID>sample string 1</ElementID>
      <Value>sample string 2</Value>
    </ExceptionFormElement>
    <ExceptionFormElement>
      <ElementID>sample string 1</ElementID>
      <Value>sample string 2</Value>
    </ExceptionFormElement>
  </FormElements>
  <FormElementsSerialized>sample string 6</FormElementsSerialized>
  <Period>sample string 4</Period>
  <SessionID>sample string 1</SessionID>
  <SiteUserID>2</SiteUserID>
</SubmitExceptionFormInputModel>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>