path = _buildpath_(agreementid, "guaranteestatus")
r = self.res.client.get(path, headers={'accept': 'application/json'})
- print "---- JSON Response ----"
- print r.text
-
json_obj = r.json()
- print "-- json_obj() --"
- print type(json_obj)
- print json_obj
status = wsag_model.AgreementStatus.json_decode(json_obj)
- print "---- STATUS ----"
- print status
-
return status, r
def create(self, agreement):