GET api/Personal/GetOne?guid={guid}
用GUID取單筆資料
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guid | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PersonalDataModels| Name | Description | Type | Additional information |
|---|---|---|---|
| J_UUID |
查詢用的GUID,前端須送該值 |
globally unique identifier |
None. |
| ID_NO |
身份證字號 輸入格式:A123456789 |
string |
String length: inclusive between 0 and 50 |
| P_CHINESE_FNAME |
中文名字-FirstName 輸入格式:純文字 範例:大明 |
string |
Matching regular expression pattern: ^([\u4E00-\u9FA5]|[\uFE30-\uFFA0])*$ String length: inclusive between 0 and 20 |
| P_CHINESE_LNAME |
中文姓氏-LastName 輸入格式:純文字 範例:王 |
string |
Matching regular expression pattern: ^([\u4E00-\u9FA5]|[\uFE30-\uFFA0])*$ String length: inclusive between 0 and 20 |
| P_ENGLISH_FNAME |
英文姓名-FirstName 輸入格式:純文字 |
string |
Matching regular expression pattern: ^[A-Za-z]+$ String length: inclusive between 0 and 100 |
| P_ENGLISH_LNAME |
英文姓名-LastName 輸入格式:純文字 |
string |
Matching regular expression pattern: ^[A-Za-z]+$ String length: inclusive between 0 and 100 |
| P_PASSPORT_FNAME |
護照英文名 輸入格式:純文字 |
string |
Matching regular expression pattern: ^[A-Za-z]+$ String length: inclusive between 0 and 100 |
| P_PASSPORT_LNAME |
護照英文姓氏(lastname) 輸入格式:純文字 |
string |
Matching regular expression pattern: ^[A-Za-z]+$ String length: inclusive between 0 and 100 |
| P_ACCOUNT_NO_FNAME |
公司帳號 /名 輸入格式:純文字 |
string |
Matching regular expression pattern: ^[A-Za-z0-9]+$ String length: inclusive between 0 and 100 |
| P_ACCOUNT_NO_LNAME |
公司帳號 /姓 輸入格式:純文字 |
string |
Matching regular expression pattern: ^[A-Za-z]+$ String length: inclusive between 0 and 100 |
| P_GENDER |
性別 輸入格式:數字1-2 1=男,2=女 |
integer |
None. |
| P_BIRTHDAY |
出生日期 輸入格式:1990/01/01 |
string |
String length: inclusive between 0 and 50 |
| P_PASSPORT_NO |
護照號碼 輸入格式:純文字 |
string |
String length: inclusive between 0 and 100 |
| P_EXP_DOP |
護照有效期限 輸入格式:1990/01/01 |
string |
None. |
| P_EXP_DORV |
居留證有效期限 輸入格式:1990/01/01 |
string |
None. |
| P_HEIGHT |
身高 輸入格式:169.9 |
string |
None. |
| P_WEIGHT |
體重 輸入格式:78.8 |
string |
None. |
| P_COLOR_DIFFERENT |
辨色力 輸入格式:數字0-1 0-正常 , 1-色盲 |
integer |
None. |
| P_EYE_LEFT |
左眼視力, 輸入格式:1.0 |
string |
String length: inclusive between 0 and 10 |
| P_EYE_RIGHT |
右眼視力, 輸入格式:1.0 |
string |
String length: inclusive between 0 and 10 |
| P_DISABILITIES |
其他障礙, 輸入格式:0-3, 0-未填 1-無, 2=領有殘障手冊, 3-有障礙部位 |
integer |
None. |
| P_DISABILITIES_PARTS |
障礙部位 |
string |
String length: inclusive between 0 and 50 |
| P_ABORIGINE |
原住民 輸入格式:0-2 0-未填 1-是 2-否 |
integer |
None. |
| P_MARRIAGE |
婚姻, 輸入格式:0-2, 0-未填, 1-未婚 2-已婚 |
integer |
None. |
| P_NATIONALITY |
國籍 |
string |
String length: inclusive between 0 and 50 |
| P_PERMANENT_ADDRESS |
戶籍地址 輸入格式:純文字 不管是輸入半形還是全形,API將用此方式處理地址 1.先將字串轉半形 2.刪去所有特殊字元(含空白、標點符號) 3.將字串轉為全形儲存 |
string |
String length: inclusive between 0 and 200 |
| P_PERMANENT_ADDRESS_ZIP |
戶籍地-區碼 |
string |
String length: inclusive between 0 and 50 |
| P_PRESENT_ADDRESS_ZIP |
通訊地址-區碼 |
string |
String length: inclusive between 0 and 50 |
| P_PRESENT_ADDRESS |
通訊地址 輸入格式:純文字 不管是輸入半形還是全形,API將用此方式處理地址 1.先將字串轉半形 2.刪去所有特殊字元(含空白、標點符號) 3.將字串轉為全形儲存 |
string |
String length: inclusive between 0 and 200 |
| P_CELLPHONES |
手機號碼 0912-345678 |
string |
Matching regular expression pattern: ^09\d{2}-\d{3}-?\d{3}$ |
| P_TELPHONES |
住家電話 02-28825252 |
string |
Matching regular expression pattern: 0\d{1,2}-\d{6,8} |
| P_EMAIL | string |
Matching regular expression pattern: ^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z]{2,4})+$ |
|
| P_MILITARY_SERVICE |
役別 01-役畢, 02-免役, 03-未役, 04-國防及研發替代 |
string |
None. |
| P_EXEMPTION_INDUCTION |
免役原因 |
string |
String length: inclusive between 0 and 100 |
| P_MS_PERIOD_START |
服役期間 起始 輸入格式2000/11 |
string |
String length: inclusive between 0 and 50 |
| P_MS_PERIOD_END |
服役期間 結束 輸入格式 2001/12 |
string |
String length: inclusive between 0 and 50 |
| P_INTERESTS_HOBBIES |
興趣 |
string |
String length: inclusive between 0 and 50 |
| P_PERSONALITY |
個人特質 |
string |
String length: inclusive between 0 and 50 |
| P_INDICTED |
是否曾被起訴 輸入格式:0-1 0-無 1-否 2-是 |
integer |
None. |
| P_REASON_PROSECUTION |
起訴原因 輸入格式:純文字 若欄位P_INDICTED(是否曾被起訴)為1或0,則自動帶入"無"字串 |
string |
String length: inclusive between 0 and 100 |
| P_PRESENT_COUNTRY |
通訊地-國籍 |
string |
None. |
| P_PERMANENT_COUNTRY |
戶籍地-國籍 |
string |
None. |
| P_RESIDENT_CERTIFICATE |
居留證號碼 |
string |
None. |
Response Formats
application/json, text/json
{
"J_UUID": "d0223345-40d9-495d-8033-2d4c7e4e47c3",
"ID_NO": "sample string 2",
"P_CHINESE_FNAME": "sample string 3",
"P_CHINESE_LNAME": "sample string 4",
"P_ENGLISH_FNAME": "sample string 5",
"P_ENGLISH_LNAME": "sample string 6",
"P_PASSPORT_FNAME": "sample string 7",
"P_PASSPORT_LNAME": "sample string 8",
"P_ACCOUNT_NO_FNAME": "sample string 9",
"P_ACCOUNT_NO_LNAME": "sample string 10",
"P_GENDER": 11,
"P_BIRTHDAY": "sample string 12",
"P_PASSPORT_NO": "sample string 13",
"P_EXP_DOP": "sample string 14",
"P_EXP_DORV": "sample string 15",
"P_HEIGHT": "sample string 16",
"P_WEIGHT": "sample string 17",
"P_COLOR_DIFFERENT": 18,
"P_EYE_LEFT": "sample string 19",
"P_EYE_RIGHT": "sample string 20",
"P_DISABILITIES": 21,
"P_DISABILITIES_PARTS": "sample string 22",
"P_ABORIGINE": 23,
"P_MARRIAGE": 24,
"P_NATIONALITY": "sample string 25",
"P_PERMANENT_ADDRESS": "sample string 26",
"P_PERMANENT_ADDRESS_ZIP": "sample string 27",
"P_PRESENT_ADDRESS_ZIP": "sample string 28",
"P_PRESENT_ADDRESS": "sample string 29",
"P_CELLPHONES": "sample string 30",
"P_TELPHONES": "sample string 31",
"P_EMAIL": "sample string 32",
"P_MILITARY_SERVICE": "sample string 33",
"P_EXEMPTION_INDUCTION": "sample string 34",
"P_MS_PERIOD_START": "sample string 35",
"P_MS_PERIOD_END": "sample string 36",
"P_INTERESTS_HOBBIES": "sample string 37",
"P_PERSONALITY": "sample string 38",
"P_INDICTED": 39,
"P_REASON_PROSECUTION": "sample string 40",
"P_PRESENT_COUNTRY": "sample string 41",
"P_PERMANENT_COUNTRY": "sample string 42",
"P_RESIDENT_CERTIFICATE": "sample string 43"
}