Created
July 3, 2024 13:30
-
-
Save iranjith4/5c4c140baf87b70ecdebaf8967f587df to your computer and use it in GitHub Desktop.
1 Requests from staging.agentdesks.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT /v2.0/update-brokerage-deals-product/8455 HTTP/1.1 | |
Host: staging.agentdesks.com | |
Content-Type: application/json | |
Accept-Encoding: gzip, deflate, br | |
Cookie: <redact> | |
Connection: keep-alive | |
secure-id: 1b13e5eb1bd4e5284e8b8a1c155011d1 | |
Accept: application/json | |
User-Agent: ADUA(Apple|arm64|BROKERAGE|2.3.0|iOS|17.2|iPhone|3A09CED5-8D84-484C-B8D9-B4D4D995FB73) | |
Content-Length: 1155 | |
Accept-Language: en-US,en;q=0.9 | |
X-User-Agent: ADUA(Apple|arm64|BROKERAGE|2.3.0|iOS|17.2|iPhone|3A09CED5-8D84-484C-B8D9-B4D4D995FB73) | |
{ | |
"deal_documents": [], | |
"agent_id": 11028385, | |
"property_info": { | |
"city": "San Jose", | |
"house_number": "", | |
"file_type": "listing_with_accepted_offer", | |
"zipcode": "95134", | |
"client_type": "seller", | |
"listing_address": "4258 Verdigris CIR", | |
"state": "California" | |
}, | |
"client_info": [ | |
{ | |
"is_primary": 1, | |
"source": "zillow_flex", | |
"phone": "4345345449", | |
"client_id": "66854821b344cfb8d8052c71", | |
"email": "swapnil+client1@radiusagent.com", | |
"name": "Ranjith Test", | |
"referral_id": "" | |
} | |
], | |
"agents_info": [ | |
{ | |
"state": "California", | |
"brokerage": "Radius", | |
"phone": "5343207736", | |
"agent_type": "seller", | |
"agent_id": 11028385, | |
"brokerage_license_number": "02051216", | |
"agent_license_number": "323323", | |
"apt": "", | |
"zipcode": "94111", | |
"city": "San Francisco", | |
"brokerage_address": "1160 Battery St E.", | |
"email": "ranjith@agentdesks.com", | |
"name": "ranjith teamlead", | |
"is_primary": 1 | |
} | |
], | |
"transaction_details": { | |
"list_price": 43545, | |
"is_all_cash_offer": 1, | |
"agent_id": 11028385, | |
"team_split_percentage": 6, | |
"created_at": 1719925080, | |
"commission_type": "percentage", | |
"other_rent_amount_term": "", | |
"transaction_type": "condominium", | |
"lender_email_address": "", | |
"price": 4353450, | |
"fixed_fee": 0, | |
"commision_percentage": 4, | |
"closed_on": 1720702680, | |
"rent_amount": 0 | |
}, | |
"save_draft": 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 400 Bad Request | |
Server: nginx/1.12.1 | |
Content-Type: application/json | |
Transfer-Encoding: chunked | |
Connection: keep-alive | |
X-Powered-By: PHP/7.3.5 | |
Access-Control-Allow-Origin: * | |
Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE, OPTIONS | |
Access-Control-Allow-Headers: X-User-Agent,secure-id,internal-id,blink-user-id,agentid,Content-Type,Cache-Control,X-Requested-With,Origin,Accept,Agent-Type,consumer-app-id,consumer-app-test-id,from_admin,update-for-referral | |
Cache-Control: no-cache, private | |
Date: Wed, 03 Jul 2024 13:30:33 GMT | |
Set-Cookie: <redact> | |
{ | |
"request": { | |
"secure_id": "1b13e5eb1bd4e5284e8b8a1c155011d1" | |
}, | |
"response": {}, | |
"error": { | |
"message": "Failed to update the client Information for the Contract: 8455 ", | |
"code": 0, | |
"dev_message": "SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`agentdesks`.`brokerage_deal_clients`, CONSTRAINT `brokerage_deal_clients_ibfk_2` FOREIGN KEY (`referral_id`) REFERENCES `crs_client_referral` (`id`) ON DELETE SET NULL ON UPDATE NO ACTION) (SQL: insert into `brokerage_deal_clients` (`client_id`, `deal_id`, `email`, `is_primary`, `name`, `phone`, `referral_id`, `source`) values (66854821b344cfb8d8052c71, 8455, swapnil+client1@radiusagent.com, 1, Ranjith Test, 4345345449, , zillow_flex))" | |
} | |
} |
Author
iranjith4
commented
Jul 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment