POST api/DataManagement/Add
Request Information
URI Parameters
None.
Body Parameters
SurveyMergeModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
Required |
|
| ProjectID | integer |
Required |
|
| SurveyIDs | Collection of integer |
Required |
|
| XMLSurveyID | integer |
Required |
|
| InsertedDate | date |
None. |
|
| EmployeeID | integer |
None. |
|
| ClientID | integer |
None. |
|
| IncludeDuplicatedIDs | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"ProjectID": 3,
"SurveyIDs": [
1,
2
],
"XMLSurveyID": 4,
"InsertedDate": "2025-11-18T02:13:25.6327996+01:00",
"EmployeeID": 1,
"ClientID": 1,
"IncludeDuplicatedIDs": true
}
text/plain
Sample:
{"ID":1,"Name":"sample string 2","ProjectID":3,"SurveyIDs":[1,2],"XMLSurveyID":4,"InsertedDate":"2025-11-18T02:13:25.6327996+01:00","EmployeeID":1,"ClientID":1,"IncludeDuplicatedIDs":true}
application/xml, text/xml
Sample:
<SurveyMergeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rtr.Entities.Model.DataManagement">
<ClientID>1</ClientID>
<EmployeeID>1</EmployeeID>
<ID>1</ID>
<IncludeDuplicatedIDs>true</IncludeDuplicatedIDs>
<InsertedDate>2025-11-18T02:13:25.6327996+01:00</InsertedDate>
<Name>sample string 2</Name>
<ProjectID>3</ProjectID>
<SurveyIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</SurveyIDs>
<XMLSurveyID>4</XMLSurveyID>
</SurveyMergeModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/plain
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>