updateTradeDocArchivestatus

Update trade document archive status

Request Parameters

ParameterRequiredTypeDescription
clientIDyesstringTransactAPI Client ID
developerAPIKeyyesstringTransactAPI Developer Key
tradeIdyesstringTrade ID generated by the API
documentFileReferenceCodeyesstringDocument reference code generated by the API
archiveStatusyesstringChange Status value eg: "0" or "1"

Sample Request

curl -k -X POST http://api-sandboxdash.norcapsecurities.com/tapiv3/index.php/v3/updateTradeDocArchivestatus
-d clientID=someclientid
-d developerAPIKey=somedeveloperkey
-d tradeId=141103099
-d documentFileReferenceCode=141103099
-d archiveStatus=1 or 0

Response Parameters

ParameterTypeDescription
statusCodestringAPI Status Code
statusDescstringAPI Status Description
tradeDetailsstringArray of trade details (tradeId, documentId, orderStatus)

Sample Response

{
    "statusCode": "101",
    "statusDesc": "Ok",
    "tradeDocumentDetails": [
        {
            "tradeId": "923209860",
            "virtualStatus": "ACTIVE",
            "documentid": "3c3Gu",
            "documentTitle": " Test trade document",
            "documentFileName": "GKrQ100417045821.pdf",
            "documentFileReferenceCode": "100417045821",
            "createdDate": "2017-04-10 19:08:19",
            "archiveStatus": "0"
        }
    ]
}

Test it Yourself!

Language
Click Try It! to start a request and see the response here!