added parsing and prototypes for retrieval and provisioning calls