POST api/UserAdmin/AddCompany
“AddCompany”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Note": "sample string 3",
"Status": 4,
"CreateTime": "sample string 5",
"Token": "sample string 6",
"Success": 7,
"Message": "sample string 8",
"DataId": "sample string 9",
"Uid": "sample string 10",
"UserId": 11
}
application/xml, text/xml
Sample:
<CompanyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 9</DataId> <Message>sample string 8</Message> <Success>7</Success> <Uid>sample string 10</Uid> <UserId>11</UserId> <CreateTime>sample string 5</CreateTime> <Id>1</Id> <Name>sample string 2</Name> <Note>sample string 3</Note> <Status>4</Status> <Token>sample string 6</Token> </CompanyModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"Success": 1,
"Message": "sample string 2",
"DataId": "sample string 3",
"Uid": "sample string 4",
"UserId": 5
}
application/xml, text/xml
Sample:
<ReturnModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin"> <DataId>sample string 3</DataId> <Message>sample string 2</Message> <Success>1</Success> <Uid>sample string 4</Uid> <UserId>5</UserId> </ReturnModel>