Source

HealthVault-jython / HealthVault / request.py

Full commit
''' implemented requests '''

def createConnect(externalId, friendlyName, question, answer):
    from com.microsoft.hsg.methods.jaxb.createconnectrequest.request import CreateConnectRequestRequest
    request = CreateConnectRequestRequest()
    request.externalId = externalId
    request.friendlyName = friendlyName
    request.question = question
    request.answer = answer
    return request

def getAuthorized():
    from com.microsoft.hsg.methods.jaxb.getauthorizedconnectrequests.request import GetAuthorizedConnectRequestsRequest
    request = GetAuthorizedConnectRequestsRequest()
    return request

def deleteConnect(externalId):
    from com.microsoft.hsg.methods.jaxb.deletependingconnectrequest.request import DeletePendingConnectPackageRequest
    request = DeletePendingConnectPackageRequest()
    request.externalId = externalId
    return request