Santhosh Patil

Santhosh Patil

  • 649
  • 1.6k
  • 236k

how to read response

Aug 29 2019 8:21 AM
{
"metadata": {
"outcome": {
"status": 200,
"message": "Success",
"code": 0,
"additionalDetails": []
},
"serviceReferenceId": "9c4e1ef9-7c3e-4ab8-a5ef-49e5e305e513"
},
"accounts": [
{
"id": "1002081",
"identifiers": [
{
"typeCode": "DSTCUSTID",
"value": "0215"
},
{
"typeCode": "BIN",
"value": "017010"
},
{
"typeCode": "PCN",
"value": "02150000"
}
],
"name": "CAREMARK WITH EAMI",
"typeCode": "CED",
"renewalDate": null,
"contractId": "01002081",
"carrierId": "1002081",
"carrierName": "Connecticut General Life Insurance Company",
"currentPbmSystemCode": "DST",
"currentBaseDrugHdSystemCode": "MAILRX",
"currentSpecialtyDrugHdSystemCode": "MAILRX",
"bankIdentificationNumber": "017010",
"processControlNumber": "02150000",
"waveId": null,
"waveEffectiveDate": null,
"waveExpirationDate": null,
"modifiedDate": "2018-01-01",
"groups": [
{
"id": "1002081OAPOAP1C",
"effectiveDate": "2016-02-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081NETDPP1Z",
"effectiveDate": "2016-02-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081PHMPHAR3",
"effectiveDate": "2016-02-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081NETDPP1B",
"effectiveDate": "2016-02-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081NETEPP1Z",
"effectiveDate": "2016-02-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081NETEPP1B",
"effectiveDate": "2016-02-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081PHMPHARM",
"effectiveDate": "2010-01-01",
"expirationDate": "2199-12-31"
},
{
"id": "1002081PPOPPO1A",
"effectiveDate": "2008-01-01",
"expirationDate": "2199-12-31"
}
],
"migrations": []
}
]
}
Account number = MC and 'currentpbmsystemcode' = 'ESI'
Account number is in MC and currentpbmsystemcode = DST
account number is in MC and currentpbmsystemcode = DST MC effective date > CDIT effective date

Answers (2)