POST api/OndutyInfo/GetMyChangList

Request Information

URI Parameters

None.

Body Parameters

OndutyInfoWhereDOM
NameDescriptionTypeAdditional information
staffId

string

None.

changDay

date

None.

PostId

integer

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "staffId": "sample string 1",
  "changDay": "2019-05-20T08:52:38.9791132+08:00",
  "PostId": 1,
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<OndutyInfoWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <PostId>1</PostId>
  <changDay>2019-05-20T08:52:38.9791132+08:00</changDay>
  <staffId>sample string 1</staffId>
</OndutyInfoWhereDOM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OndutyInfoWhereDOM'.

Response Information

Resource Description

Collection of ChangeOndutyInfoDTO
NameDescriptionTypeAdditional information
Day

date

None.

SubmitStatus

integer

None.

changeOndutyInfoItem

ChangeOndutyInfoItem

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Day": "2019-05-20T08:52:38.9791132+08:00",
    "SubmitStatus": 1,
    "changeOndutyInfoItem": {
      "MyData": {
        "Name": "sample string 1",
        "OndutyDate": "2019-05-20T08:52:38.9791132+08:00",
        "Type": "sample string 2",
        "Account": "sample string 3",
        "Org2Code": "sample string 4",
        "OrgName": "sample string 5",
        "Tel": "sample string 6",
        "PostsId": 1,
        "PostsName": "sample string 7",
        "OndutyBanCiId": 1,
        "OndutyBanCiName": "sample string 8",
        "StartTime": "2019-05-20T08:52:38.9791132+08:00",
        "StartOndutyDateTime": "sample string 9",
        "EndOndutyDateTime": "sample string 10",
        "EndTime": "2019-05-20T08:52:38.9791132+08:00",
        "OndutyTeamsId": 1,
        "OndutyTeamsName": "sample string 11",
        "IsConfirm": true,
        "activeName": [
          "sample string 1",
          "sample string 2"
        ],
        "DateSource": 1,
        "ChangeTypeName": "sample string 12",
        "Id": 13,
        "CreateBy": "sample string 15",
        "CreateTime": "2019-05-20T08:52:38.9791132+08:00"
      },
      "ThireData": {
        "Name": "sample string 1",
        "OndutyDate": "2019-05-20T08:52:38.9791132+08:00",
        "Type": "sample string 2",
        "Account": "sample string 3",
        "Org2Code": "sample string 4",
        "OrgName": "sample string 5",
        "Tel": "sample string 6",
        "PostsId": 1,
        "PostsName": "sample string 7",
        "OndutyBanCiId": 1,
        "OndutyBanCiName": "sample string 8",
        "StartTime": "2019-05-20T08:52:38.9791132+08:00",
        "StartOndutyDateTime": "sample string 9",
        "EndOndutyDateTime": "sample string 10",
        "EndTime": "2019-05-20T08:52:38.9791132+08:00",
        "OndutyTeamsId": 1,
        "OndutyTeamsName": "sample string 11",
        "IsConfirm": true,
        "activeName": [
          "sample string 1",
          "sample string 2"
        ],
        "DateSource": 1,
        "ChangeTypeName": "sample string 12",
        "Id": 13,
        "CreateBy": "sample string 15",
        "CreateTime": "2019-05-20T08:52:38.9791132+08:00"
      }
    }
  },
  {
    "Day": "2019-05-20T08:52:38.9791132+08:00",
    "SubmitStatus": 1,
    "changeOndutyInfoItem": {
      "MyData": {
        "Name": "sample string 1",
        "OndutyDate": "2019-05-20T08:52:38.9791132+08:00",
        "Type": "sample string 2",
        "Account": "sample string 3",
        "Org2Code": "sample string 4",
        "OrgName": "sample string 5",
        "Tel": "sample string 6",
        "PostsId": 1,
        "PostsName": "sample string 7",
        "OndutyBanCiId": 1,
        "OndutyBanCiName": "sample string 8",
        "StartTime": "2019-05-20T08:52:38.9791132+08:00",
        "StartOndutyDateTime": "sample string 9",
        "EndOndutyDateTime": "sample string 10",
        "EndTime": "2019-05-20T08:52:38.9791132+08:00",
        "OndutyTeamsId": 1,
        "OndutyTeamsName": "sample string 11",
        "IsConfirm": true,
        "activeName": [
          "sample string 1",
          "sample string 2"
        ],
        "DateSource": 1,
        "ChangeTypeName": "sample string 12",
        "Id": 13,
        "CreateBy": "sample string 15",
        "CreateTime": "2019-05-20T08:52:38.9791132+08:00"
      },
      "ThireData": {
        "Name": "sample string 1",
        "OndutyDate": "2019-05-20T08:52:38.9791132+08:00",
        "Type": "sample string 2",
        "Account": "sample string 3",
        "Org2Code": "sample string 4",
        "OrgName": "sample string 5",
        "Tel": "sample string 6",
        "PostsId": 1,
        "PostsName": "sample string 7",
        "OndutyBanCiId": 1,
        "OndutyBanCiName": "sample string 8",
        "StartTime": "2019-05-20T08:52:38.9791132+08:00",
        "StartOndutyDateTime": "sample string 9",
        "EndOndutyDateTime": "sample string 10",
        "EndTime": "2019-05-20T08:52:38.9791132+08:00",
        "OndutyTeamsId": 1,
        "OndutyTeamsName": "sample string 11",
        "IsConfirm": true,
        "activeName": [
          "sample string 1",
          "sample string 2"
        ],
        "DateSource": 1,
        "ChangeTypeName": "sample string 12",
        "Id": 13,
        "CreateBy": "sample string 15",
        "CreateTime": "2019-05-20T08:52:38.9791132+08:00"
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfChangeOndutyInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ChangeOndutyInfoDTO>
    <Day>2019-05-20T08:52:38.9791132+08:00</Day>
    <SubmitStatus>1</SubmitStatus>
    <changeOndutyInfoItem>
      <MyData>
        <CreateBy>sample string 15</CreateBy>
        <CreateId>1</CreateId>
        <CreateTime>2019-05-20T08:52:38.9791132+08:00</CreateTime>
        <Id>13</Id>
        <IsObsoleted>true</IsObsoleted>
        <ModifyBy>sample string 14</ModifyBy>
        <ModifyId>1</ModifyId>
        <ModifyTime>2019-05-20T08:52:38.9791132+08:00</ModifyTime>
        <Account>sample string 3</Account>
        <ChangeTypeName>sample string 12</ChangeTypeName>
        <DateSource>1</DateSource>
        <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
        <EndTime>2019-05-20T08:52:38.9791132+08:00</EndTime>
        <IsConfirm>true</IsConfirm>
        <Name>sample string 1</Name>
        <OndutyBanCiId>1</OndutyBanCiId>
        <OndutyBanCiName>sample string 8</OndutyBanCiName>
        <OndutyDate>2019-05-20T08:52:38.9791132+08:00</OndutyDate>
        <OndutyTeamsId>1</OndutyTeamsId>
        <OndutyTeamsName>sample string 11</OndutyTeamsName>
        <Org2Code>sample string 4</Org2Code>
        <OrgName>sample string 5</OrgName>
        <PostsId>1</PostsId>
        <PostsName>sample string 7</PostsName>
        <StartOndutyDateTime>sample string 9</StartOndutyDateTime>
        <StartTime>2019-05-20T08:52:38.9791132+08:00</StartTime>
        <Tel>sample string 6</Tel>
        <Type>sample string 2</Type>
        <activeName xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </activeName>
      </MyData>
      <ThireData>
        <CreateBy>sample string 15</CreateBy>
        <CreateId>1</CreateId>
        <CreateTime>2019-05-20T08:52:38.9791132+08:00</CreateTime>
        <Id>13</Id>
        <IsObsoleted>true</IsObsoleted>
        <ModifyBy>sample string 14</ModifyBy>
        <ModifyId>1</ModifyId>
        <ModifyTime>2019-05-20T08:52:38.9791132+08:00</ModifyTime>
        <Account>sample string 3</Account>
        <ChangeTypeName>sample string 12</ChangeTypeName>
        <DateSource>1</DateSource>
        <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
        <EndTime>2019-05-20T08:52:38.9791132+08:00</EndTime>
        <IsConfirm>true</IsConfirm>
        <Name>sample string 1</Name>
        <OndutyBanCiId>1</OndutyBanCiId>
        <OndutyBanCiName>sample string 8</OndutyBanCiName>
        <OndutyDate>2019-05-20T08:52:38.9791132+08:00</OndutyDate>
        <OndutyTeamsId>1</OndutyTeamsId>
        <OndutyTeamsName>sample string 11</OndutyTeamsName>
        <Org2Code>sample string 4</Org2Code>
        <OrgName>sample string 5</OrgName>
        <PostsId>1</PostsId>
        <PostsName>sample string 7</PostsName>
        <StartOndutyDateTime>sample string 9</StartOndutyDateTime>
        <StartTime>2019-05-20T08:52:38.9791132+08:00</StartTime>
        <Tel>sample string 6</Tel>
        <Type>sample string 2</Type>
        <activeName xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </activeName>
      </ThireData>
    </changeOndutyInfoItem>
  </ChangeOndutyInfoDTO>
  <ChangeOndutyInfoDTO>
    <Day>2019-05-20T08:52:38.9791132+08:00</Day>
    <SubmitStatus>1</SubmitStatus>
    <changeOndutyInfoItem>
      <MyData>
        <CreateBy>sample string 15</CreateBy>
        <CreateId>1</CreateId>
        <CreateTime>2019-05-20T08:52:38.9791132+08:00</CreateTime>
        <Id>13</Id>
        <IsObsoleted>true</IsObsoleted>
        <ModifyBy>sample string 14</ModifyBy>
        <ModifyId>1</ModifyId>
        <ModifyTime>2019-05-20T08:52:38.9791132+08:00</ModifyTime>
        <Account>sample string 3</Account>
        <ChangeTypeName>sample string 12</ChangeTypeName>
        <DateSource>1</DateSource>
        <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
        <EndTime>2019-05-20T08:52:38.9791132+08:00</EndTime>
        <IsConfirm>true</IsConfirm>
        <Name>sample string 1</Name>
        <OndutyBanCiId>1</OndutyBanCiId>
        <OndutyBanCiName>sample string 8</OndutyBanCiName>
        <OndutyDate>2019-05-20T08:52:38.9791132+08:00</OndutyDate>
        <OndutyTeamsId>1</OndutyTeamsId>
        <OndutyTeamsName>sample string 11</OndutyTeamsName>
        <Org2Code>sample string 4</Org2Code>
        <OrgName>sample string 5</OrgName>
        <PostsId>1</PostsId>
        <PostsName>sample string 7</PostsName>
        <StartOndutyDateTime>sample string 9</StartOndutyDateTime>
        <StartTime>2019-05-20T08:52:38.9791132+08:00</StartTime>
        <Tel>sample string 6</Tel>
        <Type>sample string 2</Type>
        <activeName xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </activeName>
      </MyData>
      <ThireData>
        <CreateBy>sample string 15</CreateBy>
        <CreateId>1</CreateId>
        <CreateTime>2019-05-20T08:52:38.9791132+08:00</CreateTime>
        <Id>13</Id>
        <IsObsoleted>true</IsObsoleted>
        <ModifyBy>sample string 14</ModifyBy>
        <ModifyId>1</ModifyId>
        <ModifyTime>2019-05-20T08:52:38.9791132+08:00</ModifyTime>
        <Account>sample string 3</Account>
        <ChangeTypeName>sample string 12</ChangeTypeName>
        <DateSource>1</DateSource>
        <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
        <EndTime>2019-05-20T08:52:38.9791132+08:00</EndTime>
        <IsConfirm>true</IsConfirm>
        <Name>sample string 1</Name>
        <OndutyBanCiId>1</OndutyBanCiId>
        <OndutyBanCiName>sample string 8</OndutyBanCiName>
        <OndutyDate>2019-05-20T08:52:38.9791132+08:00</OndutyDate>
        <OndutyTeamsId>1</OndutyTeamsId>
        <OndutyTeamsName>sample string 11</OndutyTeamsName>
        <Org2Code>sample string 4</Org2Code>
        <OrgName>sample string 5</OrgName>
        <PostsId>1</PostsId>
        <PostsName>sample string 7</PostsName>
        <StartOndutyDateTime>sample string 9</StartOndutyDateTime>
        <StartTime>2019-05-20T08:52:38.9791132+08:00</StartTime>
        <Tel>sample string 6</Tel>
        <Type>sample string 2</Type>
        <activeName xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </activeName>
      </ThireData>
    </changeOndutyInfoItem>
  </ChangeOndutyInfoDTO>
</ArrayOfChangeOndutyInfoDTO>