Created
November 29, 2013 09:29
-
-
Save peerasak-u/7703417 to your computer and use it in GitHub Desktop.
The New HomeCare
This file contains hidden or 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
| - - - - - - - - - - - - - - - - - - - - - - - - | |
| API | |
| - - - - - - - - - - - - - - - - - - - - - - - - | |
| 1.get session: http://sansiriapp.sansiri.com/homecare/MK_Complain/getSession.aspx | |
| เป็นแบบ GET | |
| 2.http://sansiriapp.sansiri.com/homecare/(S(%@))/MK_Complain/submithomecare.aspx , %@ คือ session id จากข้อ 1 | |
| เป็น POST และ Multipart Form Data สำหรับแนบรูปด้วย | |
| parameter | |
| @"name": @"Test", | |
| @"phone": @"0811111111", | |
| @"email": @"[email protected]", | |
| @"worktype": @"195", | |
| @"ssr_proj_id": @"99999", | |
| @"room_no": @"666/3", | |
| @"owner_type": @"O", (มี O คือ guest_status = 1, H guest_status = 2, B guest_status = 3) | |
| @"guest_id": @"4", | |
| @"detail": @"Test From FireOneOne", | |
| @"notes": @"Test From FireOneOne" | |
| WorkType | |
| "189" = "Leakage of rain."; | |
| "190" = "Electricity."; | |
| "191" = "Sanitary plumbing."; | |
| "192" = "Wall plaster."; | |
| "193" = "The shrinkage of the wood."; | |
| "194" = "Structural weight."; | |
| "195" = "Others outside the warranty."; | |
| "189" = "การรั่วซึมของน้ำฝน"; | |
| "190" = "ระบบไฟฟ้า"; | |
| "191" = "ระบบประปาสุขาภิบาล"; | |
| "192" = "ผิวผนังก่อฉาบทั่วไป"; | |
| "193" = "การยืดหดตัวของไม้"; | |
| "194" = "โครงสร้างรับน้ำหนัก"; | |
| "195" = "อื่นๆนอกการประกัน"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment