POST Equ/StandardSave
Request Information
URI Parameters
None.
Body Parameters
Equ_StandardName | Description | Type | Additional information |
---|---|---|---|
IId | integer |
None. |
|
EquTypeId | integer |
None. |
|
EName | string |
None. |
|
TypeNo | string |
None. |
|
ImageUrl | string |
None. |
|
FactoryName | string |
None. |
|
Describe | string |
None. |
|
CreateTime | date |
None. |
|
UserId | integer |
None. |
|
Remark | string |
None. |
|
NeedCheck | boolean |
None. |
|
TypeName | string |
None. |
|
Files | Collection of Equ_StadartReqModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "IId": 1, "EquTypeId": 1, "EName": "sample string 2", "TypeNo": "sample string 3", "ImageUrl": "sample string 4", "FactoryName": "sample string 5", "Describe": "sample string 6", "CreateTime": "2024-11-28 14:51:11", "UserId": 1, "Remark": "sample string 7", "NeedCheck": true, "TypeName": "sample string 8", "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_Standard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF"> <CreateTime>2024-11-28T14:51:11.7739688+08:00</CreateTime> <Describe>sample string 6</Describe> <EName>sample string 2</EName> <EquTypeId>1</EquTypeId> <FactoryName>sample string 5</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> <ImageUrl>sample string 4</ImageUrl> <NeedCheck>true</NeedCheck> <Remark>sample string 7</Remark> <TypeName>sample string 8</TypeName> <TypeNo>sample string 3</TypeNo> <UserId>1</UserId> </Equ_Standard>
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>