POST WEvalForm/AddFormSubmit

Request Information

URI Parameters

None.

Body Parameters

AddFormModel
NameDescriptionTypeAdditional information
Id

integer

None.

FormId

integer

None.

Sid

globally unique identifier

None.

Workflow

boolean

None.

PostData

Collection of FieldData

None.

FileIds

Collection of globally unique identifier

None.

TenantCode

string

None.

UserId

string

None.

CompanyCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FormId": 1,
  "Sid": "130e3ae2-1c44-43f4-8c58-92defc25ae0f",
  "Workflow": true,
  "PostData": [
    {
      "name": "sample string 1",
      "code": "sample string 2",
      "vmodel": "sample string 3"
    },
    {
      "name": "sample string 1",
      "code": "sample string 2",
      "vmodel": "sample string 3"
    }
  ],
  "FileIds": [
    "df6b8cac-54c8-4c17-a3de-f3b307fc47ce",
    "5e3a3736-b6b3-476e-b21f-d1e86bb315ec"
  ],
  "TenantCode": "sample string 3",
  "UserId": "sample string 4",
  "CompanyCode": "sample string 5"
}

application/xml, text/xml

Sample:
<AddFormModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Form">
  <CompanyCode>sample string 5</CompanyCode>
  <TenantCode>sample string 3</TenantCode>
  <UserId>sample string 4</UserId>
  <FileIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>df6b8cac-54c8-4c17-a3de-f3b307fc47ce</d2p1:guid>
    <d2p1:guid>5e3a3736-b6b3-476e-b21f-d1e86bb315ec</d2p1:guid>
  </FileIds>
  <FormId>1</FormId>
  <Id>1</Id>
  <PostData>
    <FieldData>
      <code>sample string 2</code>
      <name>sample string 1</name>
      <vmodel>sample string 3</vmodel>
    </FieldData>
    <FieldData>
      <code>sample string 2</code>
      <name>sample string 1</name>
      <vmodel>sample string 3</vmodel>
    </FieldData>
  </PostData>
  <Sid>130e3ae2-1c44-43f4-8c58-92defc25ae0f</Sid>
  <Workflow>true</Workflow>
</AddFormModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfInt32
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errors": "sample string 2",
  "unauthed": true,
  "result": 3
}

application/xml, text/xml

Sample:
<RemoteResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
  <Errors>sample string 2</Errors>
  <Result>3</Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfint>