OpCode UGD: Delete A UDF Group

OpCode UGD: Delete A UDF Group

This opcode is used to delete a UDF Group from the VTS system. Several conditions would prevent an exhibitor user from being deleted, such as the person being a booth contact.

Calling the API

The API is called via a secure HTTPS request. This HTTPS request may be a GET or POST operation. Each request must supply the authentication credentials assigned to the caller by Notified. Only requests with valid credentials will be processed. These credentials identify the caller and provide access only to a specific customer area.

The format of the call is: https://api.onlinexperiences.com/scripts/Server.nxp?LASCmd=AI:4;F:APIUTILS!50507&APIUserAuthCode={YourAuthCode}&APIUserCredentials={YourCredentials}&OpCodeList={Opcode[OpCode[…]]}&OutputFormat={J|X|H|T(default)} &{Additional, opcode-specific parameters in name=value format…}

Note: The format of the APAC Data Center is: https://api.apac.onlinexperiences.com.

Specific parameter ordering is unimportant, with the only restriction being that the first parameter MUST BE LASCmd=AI:4;F:APIUTILS!50507. All other parameters may appear in any sequence.

API Parameter

Type/Size

Req.

Comment

APIUserAuthCode

Varchar 80

Y

Your API authorization code as supplied by Notified.

APIUserCredentials

Varchar 80

Y

Your API user credentials as supplied by Notified.

OpCodeList

Varchar 20

Y

Should include UGD to invoke this function.

OutputFormat

Char 1

N

T for text, H for HTTP URL-encoded, X for XML, J for JSON. Defaults to T.

Source

Integer

Y

Pass one (1) for attendee, two (2) for documents, three (3) for exhibitor, four (4) for booth, five (5) for show, seven (7) for event/presentation.

UDFGroupDescription

Varchar 40

N

The unique description for this group.

UDFGroupKey

Integer

Y

The UDFGroupKey identifies the entry to update.

OpCodeList

Varchar 20

Y

Should include UGD to invoke this function.

Return Outputs

This API returns the VTS UDF Group Key that was deleted.

 

Text

### APICallResult=0 APICallDiagnostic=OK OpCodesProcessed=1 OpCodesInError=0

## OpCode=UGD Status=0 Message=OK

UDFGroupKey

123456

 

HTTP Urlencoded

APICallResult=0&APICallDiagnostic=OK&OpCodesProcessed=1&OpCodesInError=0&OpCode=UGD&Status=0&Message=OK&UDFGroupKey=123456

 

XML

<?xml version="1.0" encoding="utf-8" ?>

<APIResults APICallResult="0" APICallDiagnostic="OK" OpCodesProcessed="1" OpCodesInError="0" >

<OpCodeResult OpCode="UGD" Status="0" Message="OK" >

 <ResultRow>

  <UDFGroupKey>123456</UDFGroupKey>

 </ResultRow>

</OpCodeResult>

</APIResults>

 

JSON

{"APIResults":{"APICallResult":"0","APICallDiagnostic":"OK","OpCodesProcessed":"1","OpCodesInError":"0","OpCodeResults":[{"OpCode":"UGD","Status":"0","Message":"OK","Results":[{"UDFGroupKey":123456}]}]}}

 

Potential Error Codes

Error

Message

Reason

12

Grouping Not Found!

The user with the specified UDFGroupKey could not be found for updating.

  60000

Error deleting from UDFValues

 

  60000

Error deleting from LeadReportCardWeightingUDFValues

 

  60000

Error deleting from UDFPickList

 

  60000

Error deleting from RegistrationQuickSetupDetails

 

  50000

Error Deleting Webcast Report Configurations!

 

  60000

Error deleting from UDFDef

 

  60000

Error deleting from UDFGrouping

 

  60000

Error deleting UDF User Report Column Defs