GET api/WebFormElementExtension?webFormId={webFormId}

Returs the web form for the specified web form name.
Possible Service Responses:
200/OK - match found returns form xml as a string.
404/Web Form Not Found - no match found for the specified web form name.
404/System Form Not Found - no system form found for the specified web form name.
500/Internal Server - unexpected server error, details in the body of the response.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
webFormId

System.String

Required

Body Parameters

None.

Response Information

Resource Description

System.Collections.Generic.List`1[Altai.Web.Services.Models.WebFormElementExtension]
NameDescriptionTypeAdditional information
Id

System.String

None.

Name

System.String

None.

CommandType

System.Int32

None.

AddEditWebForm

System.String

None.

Required

System.Boolean

None.

FileUpload

System.Boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "CommandType": 3,
    "AddEditWebForm": "sample string 4",
    "Required": true,
    "FileUpload": true
  },
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "CommandType": 3,
    "AddEditWebForm": "sample string 4",
    "Required": true,
    "FileUpload": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfWebFormElementExtension xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <WebFormElementExtension>
    <AddEditWebForm>sample string 4</AddEditWebForm>
    <CommandType>3</CommandType>
    <FileUpload>true</FileUpload>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
    <Required>true</Required>
  </WebFormElementExtension>
  <WebFormElementExtension>
    <AddEditWebForm>sample string 4</AddEditWebForm>
    <CommandType>3</CommandType>
    <FileUpload>true</FileUpload>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
    <Required>true</Required>
  </WebFormElementExtension>
</ArrayOfWebFormElementExtension>