POST ModuleFlow/AddFlow
Request Information
URI Parameters
None.
Body Parameters
MAuditFlowModelName | Description | Type | Additional information |
---|---|---|---|
CompanyName | string |
None. |
|
Pjt_abbr | string |
None. |
|
Message | string |
None. |
|
ModuleId | integer |
None. |
|
ModuleIds | Collection of integer |
None. |
|
AuditorId | integer |
None. |
|
BizType | integer |
None. |
|
FPFlows | Collection of File_Biz_Model |
None. |
Request Formats
application/json, text/json
Sample:
{ "FPFlows": [ { "HanderUsers": [ { "User_WName": "sample string 1", "UserId": 2 }, { "User_WName": "sample string 1", "UserId": 2 } ], "Sort": 1, "iid": 1 }, { "HanderUsers": [ { "User_WName": "sample string 1", "UserId": 2 }, { "User_WName": "sample string 1", "UserId": 2 } ], "Sort": 1, "iid": 1 } ], "CompanyName": "sample string 1", "Pjt_abbr": "sample string 2", "Message": "sample string 3", "ModuleId": 4, "ModuleIds": [ 1, 2 ], "AuditorId": 5, "BizType": 6 }
application/xml, text/xml
Sample:
<MAuditFlowModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Response"> <AuditorId>5</AuditorId> <BizType>6</BizType> <Message>sample string 3</Message> <ModuleId>4</ModuleId> <ModuleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </ModuleIds> <Pjt_abbr>sample string 2</Pjt_abbr> <CompanyName>sample string 1</CompanyName> <FPFlows> <File_Biz_Model> <Sort>1</Sort> <iid>1</iid> <HanderUsers> <HanderUsers> <UserId>2</UserId> <User_WName>sample string 1</User_WName> </HanderUsers> <HanderUsers> <UserId>2</UserId> <User_WName>sample string 1</User_WName> </HanderUsers> </HanderUsers> </File_Biz_Model> <File_Biz_Model> <Sort>1</Sort> <iid>1</iid> <HanderUsers> <HanderUsers> <UserId>2</UserId> <User_WName>sample string 1</User_WName> </HanderUsers> <HanderUsers> <UserId>2</UserId> <User_WName>sample string 1</User_WName> </HanderUsers> </HanderUsers> </File_Biz_Model> </FPFlows> </MAuditFlowModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultName | Description | Type | Additional information |
---|---|---|---|
Success | integer |
None. |
|
Msg | string |
None. |
|
Token | string |
None. |
|
Key | string |
None. |
|
FileName | string |
None. |
|
FilePageCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": 1, "Msg": "sample string 2", "Token": "sample string 3", "Key": "sample string 4", "FileName": "sample string 5", "FilePageCount": 6 }
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models"> <FileName>sample string 5</FileName> <FilePageCount>6</FilePageCount> <Key>sample string 4</Key> <Msg>sample string 2</Msg> <Success>1</Success> <Token>sample string 3</Token> </BaseResult>