POST api/Project
Imports the Project(s) supplied into Sertica Sync Project Import Queue
Required Headers:
Authorization: Basic Http Authorization with valid Sertica credentials
Returns:
200 OK - Project(s) has been accepted.
400 Bad Request - If the received Validation fails to validate. Reason will be supplied in Response Phrase
401 Unauthorized - If credentials are invalid
500 Internal Server Error - Something unexpected failed. A logentry is saved in Sertica System Log if possible
Request Information
URI Parameters
None.
Body Parameters
Projects| Name | Description | Type | Additional information |
|---|---|---|---|
| Project | Collection of Project |
None. |
Request Formats
application/json, text/json
Sample:
{
"Project": [
{
"ProjectNo": "sample string 1",
"ProjectName": "sample string 2",
"Inactive": true,
"LegalEntity": "sample string 4",
"ExternalReference": "sample string 5"
},
{
"ProjectNo": "sample string 1",
"ProjectName": "sample string 2",
"Inactive": true,
"LegalEntity": "sample string 4",
"ExternalReference": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<Projects xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ListOfProjects>
<Project>
<ProjectNo>sample string 1</ProjectNo>
<ProjectName>sample string 2</ProjectName>
<Inactive>true</Inactive>
<LegalEntity>sample string 4</LegalEntity>
<ExternalReference>sample string 5</ExternalReference>
</Project>
<Project>
<ProjectNo>sample string 1</ProjectNo>
<ProjectName>sample string 2</ProjectName>
<Inactive>true</Inactive>
<LegalEntity>sample string 4</LegalEntity>
<ExternalReference>sample string 5</ExternalReference>
</Project>
</ListOfProjects>
</Projects>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |