PUT api/v1/teamdata/datasets/{id}
This method updates a dataset that has been then sent to a group list or contact list with the unique Id. The dataset can be set to be repeated by setting the start date and end date, or having occurrences that will allow the dataset to repeat itself.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
DataSetName | Description | Type | Additional information |
---|---|---|---|
DataSetID |
This is the data set id where the dataset will be added. |
globally unique identifier |
Required |
TeamDataSetID |
This is the team data set id where the dataset will be added. |
globally unique identifier |
Required |
Name |
This is the name of the new team data. |
string |
Required |
StartDate |
The date of when the dataset created will start.The format is the following:[YYYY-MM-DDTHH:MM:SSZ]. (The system will not validate if the date it's in the past). |
date |
Required |
EndDate |
The date of when the dataset created will end.The format is the following:[YYYY-MM-DDTHH:MM:SSZ]. (The system will not validate if the date it's in the past). |
date |
Required |
DateInsert |
The date of when the dataset is inserted.The format is the following:[YYYY-MM-DDTHH:MM:SSZ]. (The system will not validate if the date it's in the past). |
date |
Required |
DateModified |
The date of when the dataset is modified.The format is the following:[YYYY-MM-DDTHH:MM:SSZ]. (The system will not validate if the date it's in the past). |
date |
Required |
Repeat |
Use Yes or No to set the repeats for the dataset. |
boolean |
Required |
RepeatTime |
Times that the dataset should be repeated. |
string |
Required |
Occurrences |
Occurences |
string |
Required |
Days | string |
Required |
|
Hours | string |
Required |
|
Minutes | string |
Required |
|
ResendLinks |
Use Yes or No to resend the existing links. |
boolean |
Required |
Enabled |
Use Yes or No to enable or disable the question set DateEnd. |
boolean |
Required |
AllowChangeStartDate | boolean |
Required |
|
NotificationSettings |
Notification settings for the dataset |
TeamDataNotification |
Required |
Request Formats
application/json, text/json
{ "DataSetID": "5d5fb256-1bff-423d-956e-36c4820470d8", "TeamDataSetID": "46d22316-5914-43a6-ae52-1442564f04f3", "Name": "sample string 3", "StartDate": "2024-12-22T13:32:47.9866424+00:00", "EndDate": "2024-12-22T13:32:47.9866424+00:00", "DateInsert": "2024-12-22T13:32:47.9866424+00:00", "DateModified": "2024-12-22T13:32:47.9866424+00:00", "Repeat": true, "RepeatTime": "sample string 6", "Occurrences": "sample string 7", "Days": "sample string 8", "Hours": "sample string 9", "Minutes": "sample string 10", "ResendLinks": true, "Enabled": true, "AllowChangeStartDate": true, "NotificationSettings": { "Notification": true, "Sms": true, "Email": true, "ExpireSMS": true, "ExpireEmail": true, "NonRespondentsSMS": true, "NonRespondentsEmail": true } }
application/xml, text/xml
<DataSet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DataSetID>5d5fb256-1bff-423d-956e-36c4820470d8</DataSetID> <TeamDataSetID>46d22316-5914-43a6-ae52-1442564f04f3</TeamDataSetID> <Name>sample string 3</Name> <StartDate>2024-12-22T13:32:47.9866424+00:00</StartDate> <EndDate>2024-12-22T13:32:47.9866424+00:00</EndDate> <DateInsert>2024-12-22T13:32:47.9866424+00:00</DateInsert> <DateModified>2024-12-22T13:32:47.9866424+00:00</DateModified> <Repeat>true</Repeat> <RepeatTime>sample string 6</RepeatTime> <Occurrences>sample string 7</Occurrences> <Days>sample string 8</Days> <Hours>sample string 9</Hours> <Minutes>sample string 10</Minutes> <ResendLinks>true</ResendLinks> <Enabled>true</Enabled> <AllowChangeStartDate>true</AllowChangeStartDate> <NotificationSettings> <Notification>true</Notification> <Sms>true</Sms> <Email>true</Email> <ExpireSMS>true</ExpireSMS> <ExpireEmail>true</ExpireEmail> <NonRespondentsSMS>true</NonRespondentsSMS> <NonRespondentsEmail>true</NonRespondentsEmail> </NotificationSettings> </DataSet>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ResponseOfObjectName | Description | Type | Additional information |
---|---|---|---|
Error | Error |
None. |
|
ResponseData | ResponseDataOfObject |
None. |
Response Formats
application/json, text/json
{ "Error": { "ErrorCode": "sample string 1", "ErrorReason": "sample string 2" }, "ResponseData": { "Identification": { "UserId": "sample string 1" }, "Result": "sample string 1", "Detail": {} } }
application/xml, text/xml
<ResponseOfObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Error> <ErrorCode>sample string 1</ErrorCode> <ErrorReason>sample string 2</ErrorReason> </Error> <ResponseData> <Result>sample string 1</Result> <Identification> <UserId>sample string 1</UserId> </Identification> <Detail /> </ResponseData> </ResponseOfObject>