Update Subscriptions for Offering Widget

***This method is only used for clients that are using the Direct Invest Button (Widget)*** This method is used to update the existing subscription document for an offering with a new document. The updated document can be accessed via widget

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API Developer Key
offeringId yes string Offering ID that is generated by the API once an offering is created(createOffering) for the offering that the subscription document template is to be replaced.
documentId yes string Document ID generated by the API
documentTitle yes string Uploaded new document title
userfile yes string While uploading the PDF files, please provide a temporary filename. Prefix @ on the file name. Eg : @/tmp/phpAHi2ZC
file_name yes string Uploaded new document file name
updatedIpAddress no string Requested IP Address

Sample Request

curl -k -X POST https://api.norcapsecurities.com/tapiv3/index.php/v3/updateSubscriptionsforOfferingWidget
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=123456
-d userfile=@tmp/php/12345
-d documentId=55593
-d documentTitle=Tagme
-d file_name=mypdf_new.pdf
-d updatedIpAddress=10.0.0.9

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
offeringId string Offering ID generated by the API
documentId string Document ID generated by the API

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "document details": [
        {
       "offeringId": "123456",
       "documentId": "62801"
        }
    ]
}
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

Custodial Account