POST api/Forms/SubmitApplication
Request Information
URI Parameters
None.
Body Parameters
ApplicationSubmitName | Description | Type | Additional information |
---|---|---|---|
FormID | integer |
None. |
|
FileName | string |
None. |
|
Attributes | Collection of SubmitAttribute |
None. |
|
Notify | boolean |
None. |
|
Attachments | Collection of Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "FormID": 1, "FileName": "sample string 2", "Attributes": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ], "Notify": true, "Attachments": [ "QEA=", "QEA=" ] }
application/xml, text/xml
Sample:
<ApplicationSubmit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.SignetForms"> <Attachments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:base64Binary>QEA=</d2p1:base64Binary> <d2p1:base64Binary>QEA=</d2p1:base64Binary> </Attachments> <Attributes> <ApplicationSubmit.SubmitAttribute> <Key>sample string 1</Key> <Value>sample string 2</Value> </ApplicationSubmit.SubmitAttribute> <ApplicationSubmit.SubmitAttribute> <Key>sample string 1</Key> <Value>sample string 2</Value> </ApplicationSubmit.SubmitAttribute> </Attributes> <FileName>sample string 2</FileName> <FormID>1</FormID> <Notify>true</Notify> </ApplicationSubmit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SubmitResponseName | Description | Type | Additional information |
---|---|---|---|
ApplicationID | integer |
None. |
|
SignetID | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ApplicationID": 1, "SignetID": "sample string 2" }
application/xml, text/xml
Sample:
<SubmitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.SignetForms"> <ApplicationID>1</ApplicationID> <SignetID>sample string 2</SignetID> </SubmitResponse>