64 lines
1.5 KiB
HTTP
64 lines
1.5 KiB
HTTP
@host = devcpone.aplikasi.web.id
|
|
@labNumber = R2606110001
|
|
@accessToken = fc9e04e30ca9f46be9cb68687554c701c984696aedbd3b0ef5680552e01c427a
|
|
|
|
### Wynacom - generate token exp 3 hari
|
|
POST https://{{host}}/one-api/tools/wynacom/generate_token
|
|
Content-Type: application/json
|
|
|
|
{}
|
|
|
|
### Wynacom - check token
|
|
POST https://{{host}}/one-api/tools/wynacom/check_token
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{accessToken}}
|
|
|
|
{}
|
|
|
|
### Wynacom - get token setting
|
|
POST https://{{host}}/one-api/tools/wynacom/token_setting
|
|
Content-Type: application/json
|
|
|
|
{}
|
|
|
|
### Wynacom - save token setting exp 10 hari
|
|
POST https://{{host}}/one-api/tools/wynacom/save_token_setting
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"token_expired_days": 3
|
|
}
|
|
|
|
### Wynacom - cek timestamp gabungan nonlab dan lab
|
|
POST https://{{host}}/one-api/tools/wynacom/sampling
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"T_OrderHeaderLabNumber": "{{labNumber}}"
|
|
}
|
|
|
|
### Wynacom - cek union records nonlab dan lab
|
|
POST https://{{host}}/one-api/tools/wynacom/sampling_timestamp
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{accessToken}}
|
|
|
|
{
|
|
"T_OrderHeaderLabNumber": "{{labNumber}}"
|
|
}
|
|
|
|
### Wynacom - cek nonlab / draw specimen dari t_samplingso
|
|
POST https://{{host}}/one-api/tools/wynacom/nonlab
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"T_OrderHeaderLabNumber": "{{labNumber}}"
|
|
}
|
|
|
|
### Wynacom - cek lab / receive sampling dari t_ordersample
|
|
POST https://{{host}}/one-api/tools/wynacom/lab
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"T_OrderHeaderLabNumber": "{{labNumber}}"
|
|
}
|