项目

一般

简介

任务分解 #281

由 匿名用户 更新于 将近 8 年 之前

劳动和社会保障缴费信息(ApplyLaborAndSocialSecurityPaymentInfoFormTest.php)
// $response = $client->request('GET', 'applyLaborAndSocialSecurityPaymentInfoForms',['haders'=>['Content-' => 'application/vnd.api+json']]);
// $response = $client->request('GET', 'applyLaborAndSocialSecurityPaymentInfoForms/1,2',['haders'=>['Content-' => 'application/vnd.api+json']]);
// $response = $client->request('GET', 'applyLaborAndSocialSecurityPaymentInfoForms?filter[category]=1&sort=-id',['haders'=>['Content-' => 'application/vnd.api+json']]);
//add -- 开始
/*$data = array("data"=>array("type"=>"applyLaborAndSocialSecurityPaymentInfoForms",
"attributes"=>array("arrearsMoney"=>12,
"arrearsCategory"=>2,
"statisticsDate"=>'2020-02-02',
"classificationSupervisionLevel"=>2,
"companyId"=>2,
"uid"=>2,
"userIdentification"=>2
)
)
);
$response = $client->request(
'POST',
'applyLaborAndSocialSecurityPaymentInfoForms',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);*/
//add -- 结束
//edit -- 开始
$data = array("data"=>array("type"=>"applyLaborAndSocialSecurityPaymentInfoForms",
"attributes"=>array("arrearsMoney"=>13,
"arrearsCategory"=>1,
"statisticsDate"=>'2034-03-03',
"classificationSupervisionLevel"=>3,
)
)
);
$response = $client->request(
'PUT',
'applyLaborAndSocialSecurityPaymentInfoForms/16',
[
'haders'=>['Content-Type' => 'application/vnd.api+json'],
'json' => $data
]
);
劳动和社会保障缴费信息

返回