{"action":"created","issue":{"url":"https://api.github.com/repos/fedspendingtransparency/USASpending-Issue-Tracker/issues/39","labels_url":"https://api.github.com/repos/fedspendingtransparency/USASpending-Issue-Tracker/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/fedspendingtransparency/USASpending-Issue-Tracker/issues/39/comments","events_url":"https://api.github.com/repos/fedspendingtransparency/USASpending-Issue-Tracker/issues/39/events","html_url":"https://github.com/fedspendingtransparency/USASpending-Issue-Tracker/issues/39","id":68205385,"number":39,"title":"ITDB-USAS contract match API broken","user":{"login":"jmendez35","id":8630426,"avatar_url":"https://avatars.githubusercontent.com/u/8630426?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendez35","html_url":"https://github.com/jmendez35","followers_url":"https://api.github.com/users/jmendez35/followers","following_url":"https://api.github.com/users/jmendez35/following{/other_user}","gists_url":"https://api.github.com/users/jmendez35/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendez35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendez35/subscriptions","organizations_url":"https://api.github.com/users/jmendez35/orgs","repos_url":"https://api.github.com/users/jmendez35/repos","events_url":"https://api.github.com/users/jmendez35/events{/privacy}","received_events_url":"https://api.github.com/users/jmendez35/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T22:09:55Z","updated_at":"2015-04-13T22:15:23Z","closed_at":null,"body":"The IT Dashboard Business Case API collects awarded contract data from agencies on a regular basis. These awarded contacts are checked against USASpending's API to see whether the provided data matches with FPDS/USAS. As of 3/31/2015, this API returns a 404 error.\r\n\r\nThe USASpending URL that the ITDB API calls is in the following format:\r\nhttp://usaspending.gov/customcode/contractsApiXml.php?contractPIID=NRCDR0909335&contractIDVPIID=NNG07DA20B&contractAgencyID=3100&fundAgencyID=31&idvAgencyID=8000\r\n\r\nNote: contractPIID, contractIDVPIID, contractAgencyID, fundAgencyID and idvAgencyID are parameters passed to the API based on agency submissions.\r\n\r\nSince 3/31/2015, 250 awarded contracts across 5 agencies were updated on the IT Dashboard, all of which are marked as \"No Match with USASpending\" due to this issue. The ITDB will continue to mark any awarded contract updates with \"No Match with USASpending\" until this is resolved.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fedspendingtransparency/USASpending-Issue-Tracker/issues/comments/92515327","html_url":"https://github.com/fedspendingtransparency/USASpending-Issue-Tracker/issues/39#issuecomment-92515327","issue_url":"https://api.github.com/repos/fedspendingtransparency/USASpending-Issue-Tracker/issues/39","id":92515327,"user":{"login":"jmendez35","id":8630426,"avatar_url":"https://avatars.githubusercontent.com/u/8630426?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendez35","html_url":"https://github.com/jmendez35","followers_url":"https://api.github.com/users/jmendez35/followers","following_url":"https://api.github.com/users/jmendez35/following{/other_user}","gists_url":"https://api.github.com/users/jmendez35/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendez35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendez35/subscriptions","organizations_url":"https://api.github.com/users/jmendez35/orgs","repos_url":"https://api.github.com/users/jmendez35/repos","events_url":"https://api.github.com/users/jmendez35/events{/privacy}","received_events_url":"https://api.github.com/users/jmendez35/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T22:15:23Z","updated_at":"2015-04-13T22:15:23Z","body":"Sample XML expected from USASpending's API:\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<usaspendingSearchResults xmlns=\"http://usaspending.gov/contractsApiXml\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://usaspending.gov/contractsApiXml http://usaspending.gov/schemas/contractsApiXml.xsd\" xml_format_version=\"0.7\">\r\n    <record description=\"transaction list record\" database=\"FPDS\">\r\n        <request>\r\n            <fundingAgencyId/>\r\n            <contractingAgencyId>7001</contractingAgencyId>\r\n            <IDVAgencyId>7001</IDVAgencyId>\r\n            <PIID>HSHQDC-10-A-00102</PIID>\r\n            <IDVPIID>HSHQDC-12-J-00011</IDVPIID>\r\n        </request>\r\n        <response>\r\n            <isExist>Y</isExist>\r\n            <isPIIDMatchedFlag>N</isPIIDMatchedFlag>\r\n            <isIDVPIIDMatchedFlag>N</isIDVPIIDMatchedFlag>\r\n            <vendorNames>MYTHICS, INC</vendorNames>\r\n            <contractValue>0</contractValue>\r\n            <contractEndDate>1970-01-01</contractEndDate>\r\n            <BaseContracts>\r\n                <Contract>\r\n                    <IdentifyingAgencyId>7001</IdentifyingAgencyId>\r\n                    <TransactionNumber></TransactionNumber>\r\n                    <effectiveDate>2011-11-10</effectiveDate>\r\n                    <vendorName>MYTHICS, INC</vendorName>\r\n                    <typeOfContract>Firm Fixed Price</typeOfContract>\r\n                    <performanceBasedContract>X</performanceBasedContract>\r\n                    <contractDescription>DEPARTMENT-WIDE ENTERPRISE LICENSE AGREEMENTS</contractDescription>\r\n                    <solicitationId/>\r\n                    <contractExtentCompeted>U</contractExtentCompeted>\r\n                </Contract>\r\n            </BaseContracts>\r\n        </response>\r\n    </record>\r\n</usaspendingSearchResults>"}}