POST api/Person/MySteward?CookCode={CookCode}&buildingID={buildingID}

【可用】登录用户--我的管家

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

登录Token

string

Required

buildingID

公寓ID

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfSteward
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Steward

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {
    "StewardID": 1,
    "StewardName": "sample string 2",
    "Tel": "sample string 3",
    "ServiceTime": "sample string 4",
    "Images": "sample string 5",
    "CreateTime": "2020-10-28T12:44:50.6251883+08:00",
    "IsEnable": true,
    "BuildingID": 8,
    "BuildingName": "sample string 9",
    "BSID": 10,
    "Email": "sample string 11",
    "EmailName": "sample string 12",
    "Bu": "sample string 13",
    "CityName": "sample string 14",
    "CityID": 15,
    "StoreCode": "sample string 16"
  }
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{"StewardID":1,"StewardName":"sample string 2","Tel":"sample string 3","ServiceTime":"sample string 4","Images":"sample string 5","CreateTime":"2020-10-28T12:44:50.6251883+08:00","IsEnable":true,"BuildingID":8,"BuildingName":"sample string 9","BSID":10,"Email":"sample string 11","EmailName":"sample string 12","Bu":"sample string 13","CityName":"sample string 14","CityID":15,"StoreCode":"sample string 16"}}

application/xml, text/xml

Sample:
<RequestResultOfStewardn2DY90SC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.Models.Steward">
    <d2p1:BSID>10</d2p1:BSID>
    <d2p1:Bu>sample string 13</d2p1:Bu>
    <d2p1:BuildingID>8</d2p1:BuildingID>
    <d2p1:BuildingName>sample string 9</d2p1:BuildingName>
    <d2p1:CityID>15</d2p1:CityID>
    <d2p1:CityName>sample string 14</d2p1:CityName>
    <d2p1:CreateTime>2020-10-28T12:44:50.6251883+08:00</d2p1:CreateTime>
    <d2p1:Email>sample string 11</d2p1:Email>
    <d2p1:EmailName>sample string 12</d2p1:EmailName>
    <d2p1:Images>sample string 5</d2p1:Images>
    <d2p1:IsEnable>true</d2p1:IsEnable>
    <d2p1:ServiceTime>sample string 4</d2p1:ServiceTime>
    <d2p1:StewardID>1</d2p1:StewardID>
    <d2p1:StewardName>sample string 2</d2p1:StewardName>
    <d2p1:StoreCode>sample string 16</d2p1:StoreCode>
    <d2p1:Tel>sample string 3</d2p1:Tel>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfStewardn2DY90SC>