Usage
Use CreateRFP to create a new RFP to add to your Cvent account.
Basic Steps
- Determine the ID of the user that will be used for applying visibility to the new RFP.
- Construct an RFPParameter array and populate the array with the RFPs you want to create.
- Optionally, specify the MessageId if you need to track the result of each record. Message IDs can represent unique identifiers from your system. Message IDs will be returned as Reference IDs in the result array for your tracking purposes.
- Call CreateRFP, passing in the RFPParameter array.
- Process the results in the RFPParameter array object to verify whether the event have been successfully created.
General Syntax
GetUpdatedResultArray = cventapi.CreateRFP(RFPParameterArray RFPParameters)
Input
Name | Type | Description |
---|---|---|
UserId | ID | ID of the user that will be used for applying visibility to the resulting RFP. |
RFPParameters | RFPParametersArray | An array of RFP parameters (up to 200) from which to create new RFPs. |
Output
Name | Type | Description |
---|---|---|
Id | ID | ID of the RFP that was create. If this field contains a value, then the action was successful. If this field is empty, then the RFP was not created and instead returned an error. |
Code | String | RFPCode of the RFP that was created. If this field contains a value, then the action was successful. If this field is empty, then the RFP was not created and instead returned an error. |
ReferenceId | String | MessageId input for the RFPParameters object instance. |
Success | Boolean | Indicates whether the call suceeded (True) or not (False) for the object instance. |
Errors | Error Array | If an error occured during the Update call, an array of one or more Error objects providing the error code and description. |
Notes
Take into account the following notes when using the CreateRFP call:
- Required Fields: The following RFPParameter fields are required: RFPTypeID and RFPName.
- RFP Status: All RFPs created through this method will be set to Draft status.
Last updated on