POST Equ/PartsSave
Request Information
URI Parameters
None.
Body Parameters
Equ_PartsName | Description | Type | Additional information |
---|---|---|---|
IId | integer |
None. |
|
PName | string |
None. |
|
FactoryName | string |
None. |
|
CreateTime | date |
None. |
|
UserId | integer |
None. |
|
StandardId | integer |
None. |
|
Remark | string |
None. |
|
TypeNo | string |
None. |
|
Files | Collection of Equ_StadartReqModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "IId": 1, "PName": "sample string 2", "FactoryName": "sample string 3", "CreateTime": "2024-11-28 14:31:57", "UserId": 1, "StandardId": 1, "Remark": "sample string 4", "TypeNo": "sample string 5", "Files": [ { "IId": 1, "FileName": "sample string 2", "OldName": "sample string 3" }, { "IId": 1, "FileName": "sample string 2", "OldName": "sample string 3" } ] }
application/xml, text/xml
Sample:
<Equ_Parts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF"> <CreateTime>2024-11-28T14:31:57.8402034+08:00</CreateTime> <FactoryName>sample string 3</FactoryName> <Files> <Equ_StadartReqModel> <FileName>sample string 2</FileName> <OldName>sample string 3</OldName> <IId>1</IId> </Equ_StadartReqModel> <Equ_StadartReqModel> <FileName>sample string 2</FileName> <OldName>sample string 3</OldName> <IId>1</IId> </Equ_StadartReqModel> </Files> <IId>1</IId> <PName>sample string 2</PName> <Remark>sample string 4</Remark> <StandardId>1</StandardId> <TypeNo>sample string 5</TypeNo> <UserId>1</UserId> </Equ_Parts>
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>