POST api/PersonnelAPI/AddAppDictInfo
批量添加字典表明细
Request Information
URI Parameters
None.
Body Parameters
AppDictInfoName | Description | Type | Additional information |
---|---|---|---|
MasterCode | string |
None. |
|
MasterName | string |
None. |
|
Detail | Collection of AppDictDetailInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "MasterCode": "sample string 1", "MasterName": "sample string 2", "Detail": [ { "DetailGID": "1c07eef1-c2b4-452f-accb-a9282ae48e31", "DetailName": "sample string 1", "Sequence": 1, "Tenant_GID": "31883d19-f4de-47b5-af19-c5d05400673a" }, { "DetailGID": "1c07eef1-c2b4-452f-accb-a9282ae48e31", "DetailName": "sample string 1", "Sequence": 1, "Tenant_GID": "31883d19-f4de-47b5-af19-c5d05400673a" } ] }
application/xml, text/xml
Sample:
<AppDictInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.Core.Model"> <Detail> <AppDictDetailInfo> <DetailGID>1c07eef1-c2b4-452f-accb-a9282ae48e31</DetailGID> <DetailName>sample string 1</DetailName> <Sequence>1</Sequence> <Tenant_GID>31883d19-f4de-47b5-af19-c5d05400673a</Tenant_GID> </AppDictDetailInfo> <AppDictDetailInfo> <DetailGID>1c07eef1-c2b4-452f-accb-a9282ae48e31</DetailGID> <DetailName>sample string 1</DetailName> <Sequence>1</Sequence> <Tenant_GID>31883d19-f4de-47b5-af19-c5d05400673a</Tenant_GID> </AppDictDetailInfo> </Detail> <MasterCode>sample string 1</MasterCode> <MasterName>sample string 2</MasterName> </AppDictInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
批量添加字典表明细
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>