Application & Process Automation V2
SubmitProject
Submits the unsubmitted draft data in the target project’s form. Requires write access to the project.
Request
POST /Programs/{ProgramId}/Projects/{ProjectId}/Forms/{FormId}/Draft/Submit
Path Parameters
Name | Value | Description |
---|---|---|
ProgramId |
string |
Unique identifier for the program. |
ProjectId |
string |
Unique identifier for the project. |
FormId |
string |
Unique or custom identifier for the form. |
Request Body
Do not supply a request body with this method.
Response
Response Body
{
"Project": {
"ProjectId": string,
"ProgramId": string,
"ProjectNumber": string,
"Url": string,
"LastChangeTimestamp": datetime,
"CurrentStatus": {
"StatusId": string,
"CustomId": null | string,
"Name": string,
"Timestamp": datetime
}
}
}
<span class="hljs-punctuation">{
"Project": {
"ProjectId": "VZ5XXG94S3QA",
"ProgramId": "280NSHZ97UKX",
"ProjectNumber": "TEST-00001",
"Url": "http://testagency.powerclerk.com/MvcProjects/LandingPage?ProgramId=280NSHZ97UKX&ProjectId=VZ5XXG94S3QA",
"LastChangeTimestamp": "2022-11-01T10:11:46-07:00",
"CurrentStatus": {
"StatusId": "1X31T3RKD4W8",
"CustomId": null,
"Name": "Application Review",
"Timestamp": "2022-10-13T16:19:40-07:00"
}
}
}</span>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="ProjectSubmitResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Project">
<xs:complexType>
<xs:sequence>
<xs:element name="CurrentStatus">
<xs:complexType>
<xs:attribute type="xs:string" name="StatusId" use="required"/>
<xs:attribute type="xs:string" name="CustomId" use="optional"/>
<xs:attribute type="xs:string" name="Name" use="required"/>
<xs:attribute type="xs:dateTime" name="Timestamp" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" name="ProjectId" use="required"/>
<xs:attribute type="xs:string" name="ProgramId" use="required"/>
<xs:attribute type="xs:string" name="ProjectNumber" use="required"/>
<xs:attribute type="xs:string" name="Url" use="required"/>
<xs:attribute type="xs:dateTime" name="LastChangeTimestamp" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?>
<ProjectSubmitResponse>
<Project ProjectId="JT2BNFEC26X6" ProgramId="WUSVSQK9XB6N" ProjectNumber="TEST-00002" Url="http://testagency.powerclerk.com/MvcProjects/LandingPage?ProgramId=WUSVSQK9XB6N&ProjectId=JT2BNFEC26X6" LastChangeTimestamp="2022-11-08T10:51:21-08:00">
<CurrentStatus StatusId="Q1N7XRS60Y52" Name="Unsubmitted" Timestamp="2022-11-08T10:51:20-08:00" />
</Project>
</ProjectSubmitResponse>
Response Parameters
Name | Value | Description |
---|---|---|
ProjectId |
string |
Unique identifier for the project. |
ProgramId |
string |
Unique identifier for the program. |
ProjectNumber |
string |
The project number assigned when the project was submitted. |
Url |
string |
A link to the landing page for the project. |
LastChangeTimestamp |
datetime |
Timestamp of the last change made to the project. |
CurrentStatus |
object |
The current status of the project. |
CurrentStatus.StatusId |
string |
Unique identifier for the status. |
CurrentStatus.CustomId |
null | string |
Custom identifier for the status. |
CurrentStatus.Name |
string |
Name of the status. |
CurrentStatus.Timestamp |
datetime |
Timestamp of when the project entered the status. |