FormManager


Click here for a complete list of operations.

AddNewForm

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /KMWare.ZMA.EventResource.EducationProgMgmt.Host/FormManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.EventReource.EducationProgMgmt.ServiceContracts/AddNewForm"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddNewForm xmlns="http://KMWare.ZMA.EventReource.EducationProgMgmt.ServiceContracts">
      <AddNewFormRequest xmlns="http://KMWare.ZMA.EventResource.EducationProgMgmt.DataTypes">
        <OrganizationUnitId>short</OrganizationUnitId>
        <FormId>int</FormId>
        <Title>string</Title>
        <Description>string</Description>
        <ModuleCode>string</ModuleCode>
        <UpdateId>string</UpdateId>
        <UpdateDate>dateTime</UpdateDate>
        <ExpiryDate>dateTime</ExpiryDate>
        <FormQuestion>
          <FormQuestion>
            <FormId>int</FormId>
            <OrganizationUnitId>short</OrganizationUnitId>
            <QuestionId>int</QuestionId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <SequenceNumber>int</SequenceNumber>
            <QuestionType>string</QuestionType>
          </FormQuestion>
          <FormQuestion>
            <FormId>int</FormId>
            <OrganizationUnitId>short</OrganizationUnitId>
            <QuestionId>int</QuestionId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <SequenceNumber>int</SequenceNumber>
            <QuestionType>string</QuestionType>
          </FormQuestion>
        </FormQuestion>
        <FormRole>
          <FormRole>
            <FormId>int</FormId>
            <OrganizationUnitId>short</OrganizationUnitId>
            <RoleId>string</RoleId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </FormRole>
          <FormRole>
            <FormId>int</FormId>
            <OrganizationUnitId>short</OrganizationUnitId>
            <RoleId>string</RoleId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </FormRole>
        </FormRole>
      </AddNewFormRequest>
    </AddNewForm>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddNewFormResponse xmlns="http://KMWare.ZMA.EventReource.EducationProgMgmt.ServiceContracts">
      <AddNewFormResult>string</AddNewFormResult>
      <formId>int</formId>
    </AddNewFormResponse>
  </soap:Body>
</soap:Envelope>