POST api/ArchiveStorageTask/AddArchiveStorageTask
保存存档任务
Request Information
URI Parameters
None.
Body Parameters
ArchiveStorageTaskInputName | Description | Type | Additional information |
---|---|---|---|
TaskName |
任务名称 |
string |
None. |
ArchiveTableId |
存档表编号 |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "TaskName": "sample string 2", "ArchiveTableId": "30218d47-089b-4cea-b50a-3b603349944b" }
text/html
Sample:
{"TaskName":"sample string 2","ArchiveTableId":"30218d47-089b-4cea-b50a-3b603349944b"}
application/xml, text/xml
Sample:
<ArchiveStorageTaskInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <AcademicYear>sample string 3</AcademicYear> <ArchiveTableId>30218d47-089b-4cea-b50a-3b603349944b</ArchiveTableId> <BeginTime>2024-09-25T00:08:37.1247354+08:00</BeginTime> <CourseCategory>sample string 10</CourseCategory> <CourseTypeName>sample string 9</CourseTypeName> <CreatorId>11</CreatorId> <CreatorUser>sample string 12</CreatorUser> <DirectoryId>f8ff7e36-2d7a-40c0-be39-e9e9c93b386a</DirectoryId> <EndTime>2024-09-25T00:08:37.1247354+08:00</EndTime> <Major>sample string 6</Major> <ProfessionalName>sample string 7</ProfessionalName> <ProfessionalNo>sample string 8</ProfessionalNo> <SchoolName>sample string 5</SchoolName> <Semester>4</Semester> <TaskName>sample string 2</TaskName> </ArchiveStorageTaskInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存存档任务
JsonRtnDtoOfGuidName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": "786d6bd0-516a-423d-9dbd-36667f422c2a" }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":"786d6bd0-516a-423d-9dbd-36667f422c2a"}
application/xml, text/xml
Sample:
<JsonRtnDtoOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>786d6bd0-516a-423d-9dbd-36667f422c2a</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfguid>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":"786d6bd0-516a-423d-9dbd-36667f422c2a"});