Jump to content

API: GenericFieldInfo contains only records with data...


bib_ak

Recommended Posts

It would be great if JSON response (for passwords) listed info for fields not containing any data. Now there's no way to figure out what DisplayName is for all Genericfields. Example:

 

    [
        {
            "PasswordID": 46411,
            "Title": "forum4",
            "UserName": "login2",
            "Description": "My login to forum4",
            "GenericField1": "loginasa",
            "GenericField2": "",
            "GenericField3": "",
            "GenericField4": "",
            "GenericField5": "",
            "GenericField6": "",
            "GenericField7": "",
            "GenericField8": "",
            "GenericField9": "",
            "GenericField10": "",
            "GenericFieldInfo": [
                {
                    "GenericFieldID": "GenericField1",
                    "DisplayName": "Pin Number",
                    "Value": "0000"
                },
                {
                    "GenericFieldID": "GenericField2",
                    "DisplayName": "Surname",
                    "Value": "Reznor"
                }
            ],
            "AccountTypeID": 0,
            "Notes": "",
            "URL": "http://www.microsoft.com",
            "Password": "JENN-ZHn#3+A^yc",
            "ExpiryDate": "23/08/2012",
            "AllowExport": true,
            "AccountType": ""
        }
    ]

 I need to know what DisplayName is for GenericField 2 - 10 - they're not returned if there's no values...

Link to comment
Share on other sites

×
×
  • Create New...