POST api/OndutyTeams/AddOndutyTeamsSubmit

Request Information

URI Parameters

None.

Body Parameters

OndutyTeamsDTO
NameDescriptionTypeAdditional information
LocaltionName

string

None.

IsTouPingShow

boolean

None.

Order

integer

None.

OrgCode

string

None.

OrgName

string

None.

PostsList

Collection of PostsDTO

None.

Id

编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LocaltionName": "sample string 1",
  "IsTouPingShow": true,
  "Order": 1,
  "OrgCode": "sample string 2",
  "OrgName": "sample string 3",
  "PostsList": [
    {
      "Name": "sample string 1",
      "Order": 1,
      "IsShow": true,
      "GoodsIds": "sample string 2",
      "IsJiaojieban": true,
      "OndutyTeamsId": 1,
      "OndutyBanCiListDTO": [
        {
          "Name": "sample string 1",
          "StartOndutyDateTime": "sample string 2",
          "StartOndutyTime": 1,
          "EndOndutyTime": 1,
          "EndOndutyDateTime": "sample string 3",
          "OndutyTeamsId": 1,
          "Order": 1,
          "Tel": "sample string 4",
          "PostsId": 1,
          "StaffIds": "sample string 5",
          "CompanyWorkIds": "sample string 6",
          "OndutyInfoListDTO": [
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            },
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            }
          ],
          "Id": 7
        },
        {
          "Name": "sample string 1",
          "StartOndutyDateTime": "sample string 2",
          "StartOndutyTime": 1,
          "EndOndutyTime": 1,
          "EndOndutyDateTime": "sample string 3",
          "OndutyTeamsId": 1,
          "Order": 1,
          "Tel": "sample string 4",
          "PostsId": 1,
          "StaffIds": "sample string 5",
          "CompanyWorkIds": "sample string 6",
          "OndutyInfoListDTO": [
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            },
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            }
          ],
          "Id": 7
        }
      ],
      "Id": 3
    },
    {
      "Name": "sample string 1",
      "Order": 1,
      "IsShow": true,
      "GoodsIds": "sample string 2",
      "IsJiaojieban": true,
      "OndutyTeamsId": 1,
      "OndutyBanCiListDTO": [
        {
          "Name": "sample string 1",
          "StartOndutyDateTime": "sample string 2",
          "StartOndutyTime": 1,
          "EndOndutyTime": 1,
          "EndOndutyDateTime": "sample string 3",
          "OndutyTeamsId": 1,
          "Order": 1,
          "Tel": "sample string 4",
          "PostsId": 1,
          "StaffIds": "sample string 5",
          "CompanyWorkIds": "sample string 6",
          "OndutyInfoListDTO": [
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            },
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            }
          ],
          "Id": 7
        },
        {
          "Name": "sample string 1",
          "StartOndutyDateTime": "sample string 2",
          "StartOndutyTime": 1,
          "EndOndutyTime": 1,
          "EndOndutyDateTime": "sample string 3",
          "OndutyTeamsId": 1,
          "Order": 1,
          "Tel": "sample string 4",
          "PostsId": 1,
          "StaffIds": "sample string 5",
          "CompanyWorkIds": "sample string 6",
          "OndutyInfoListDTO": [
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            },
            {
              "Name": "sample string 1",
              "OndutyDate": "2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00",
              "StartOndutyDateTime": "sample string 9",
              "EndOndutyDateTime": "sample string 10",
              "EndTime": "2019-03-22T03:48:27.4965163+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
            }
          ],
          "Id": 7
        }
      ],
      "Id": 3
    }
  ],
  "Id": 4
}

application/xml, text/xml

Sample:
<OndutyTeamsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 6</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
  <Id>4</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 5</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
  <IsTouPingShow>true</IsTouPingShow>
  <LocaltionName>sample string 1</LocaltionName>
  <Order>1</Order>
  <OrgCode>sample string 2</OrgCode>
  <OrgName>sample string 3</OrgName>
  <PostsList>
    <PostsDTO>
      <CreateBy>sample string 5</CreateBy>
      <CreateId>1</CreateId>
      <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
      <Id>3</Id>
      <IsObsoleted>true</IsObsoleted>
      <ModifyBy>sample string 4</ModifyBy>
      <ModifyId>1</ModifyId>
      <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
      <GoodsIds>sample string 2</GoodsIds>
      <IsJiaojieban>true</IsJiaojieban>
      <IsShow>true</IsShow>
      <Name>sample string 1</Name>
      <OndutyBanCiListDTO>
        <OndutyBanCiDTO>
          <CreateBy>sample string 9</CreateBy>
          <CreateId>1</CreateId>
          <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
          <Id>7</Id>
          <IsObsoleted>true</IsObsoleted>
          <ModifyBy>sample string 8</ModifyBy>
          <ModifyId>1</ModifyId>
          <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
          <CompanyWorkIds>sample string 6</CompanyWorkIds>
          <EndOndutyDateTime>sample string 3</EndOndutyDateTime>
          <EndOndutyTime>1</EndOndutyTime>
          <Name>sample string 1</Name>
          <OndutyInfoListDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
          </OndutyInfoListDTO>
          <OndutyTeamsId>1</OndutyTeamsId>
          <Order>1</Order>
          <PostsId>1</PostsId>
          <StaffIds>sample string 5</StaffIds>
          <StartOndutyDateTime>sample string 2</StartOndutyDateTime>
          <StartOndutyTime>1</StartOndutyTime>
          <Tel>sample string 4</Tel>
        </OndutyBanCiDTO>
        <OndutyBanCiDTO>
          <CreateBy>sample string 9</CreateBy>
          <CreateId>1</CreateId>
          <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
          <Id>7</Id>
          <IsObsoleted>true</IsObsoleted>
          <ModifyBy>sample string 8</ModifyBy>
          <ModifyId>1</ModifyId>
          <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
          <CompanyWorkIds>sample string 6</CompanyWorkIds>
          <EndOndutyDateTime>sample string 3</EndOndutyDateTime>
          <EndOndutyTime>1</EndOndutyTime>
          <Name>sample string 1</Name>
          <OndutyInfoListDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
          </OndutyInfoListDTO>
          <OndutyTeamsId>1</OndutyTeamsId>
          <Order>1</Order>
          <PostsId>1</PostsId>
          <StaffIds>sample string 5</StaffIds>
          <StartOndutyDateTime>sample string 2</StartOndutyDateTime>
          <StartOndutyTime>1</StartOndutyTime>
          <Tel>sample string 4</Tel>
        </OndutyBanCiDTO>
      </OndutyBanCiListDTO>
      <OndutyTeamsId>1</OndutyTeamsId>
      <Order>1</Order>
    </PostsDTO>
    <PostsDTO>
      <CreateBy>sample string 5</CreateBy>
      <CreateId>1</CreateId>
      <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
      <Id>3</Id>
      <IsObsoleted>true</IsObsoleted>
      <ModifyBy>sample string 4</ModifyBy>
      <ModifyId>1</ModifyId>
      <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
      <GoodsIds>sample string 2</GoodsIds>
      <IsJiaojieban>true</IsJiaojieban>
      <IsShow>true</IsShow>
      <Name>sample string 1</Name>
      <OndutyBanCiListDTO>
        <OndutyBanCiDTO>
          <CreateBy>sample string 9</CreateBy>
          <CreateId>1</CreateId>
          <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
          <Id>7</Id>
          <IsObsoleted>true</IsObsoleted>
          <ModifyBy>sample string 8</ModifyBy>
          <ModifyId>1</ModifyId>
          <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
          <CompanyWorkIds>sample string 6</CompanyWorkIds>
          <EndOndutyDateTime>sample string 3</EndOndutyDateTime>
          <EndOndutyTime>1</EndOndutyTime>
          <Name>sample string 1</Name>
          <OndutyInfoListDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
          </OndutyInfoListDTO>
          <OndutyTeamsId>1</OndutyTeamsId>
          <Order>1</Order>
          <PostsId>1</PostsId>
          <StaffIds>sample string 5</StaffIds>
          <StartOndutyDateTime>sample string 2</StartOndutyDateTime>
          <StartOndutyTime>1</StartOndutyTime>
          <Tel>sample string 4</Tel>
        </OndutyBanCiDTO>
        <OndutyBanCiDTO>
          <CreateBy>sample string 9</CreateBy>
          <CreateId>1</CreateId>
          <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
          <Id>7</Id>
          <IsObsoleted>true</IsObsoleted>
          <ModifyBy>sample string 8</ModifyBy>
          <ModifyId>1</ModifyId>
          <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
          <CompanyWorkIds>sample string 6</CompanyWorkIds>
          <EndOndutyDateTime>sample string 3</EndOndutyDateTime>
          <EndOndutyTime>1</EndOndutyTime>
          <Name>sample string 1</Name>
          <OndutyInfoListDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
            <OndutyInfoDTO>
              <CreateBy>sample string 15</CreateBy>
              <CreateId>1</CreateId>
              <CreateTime>2019-03-22T03:48:27.4965163+08:00</CreateTime>
              <Id>13</Id>
              <IsObsoleted>true</IsObsoleted>
              <ModifyBy>sample string 14</ModifyBy>
              <ModifyId>1</ModifyId>
              <ModifyTime>2019-03-22T03:48:27.4965163+08:00</ModifyTime>
              <Account>sample string 3</Account>
              <ChangeTypeName>sample string 12</ChangeTypeName>
              <DateSource>1</DateSource>
              <EndOndutyDateTime>sample string 10</EndOndutyDateTime>
              <EndTime>2019-03-22T03:48:27.4965163+08:00</EndTime>
              <IsConfirm>true</IsConfirm>
              <Name>sample string 1</Name>
              <OndutyBanCiId>1</OndutyBanCiId>
              <OndutyBanCiName>sample string 8</OndutyBanCiName>
              <OndutyDate>2019-03-22T03:48:27.4965163+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-03-22T03:48:27.4965163+08:00</StartTime>
              <Tel>sample string 6</Tel>
              <Type>sample string 2</Type>
              <activeName xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>sample string 1</d8p1:string>
                <d8p1:string>sample string 2</d8p1:string>
              </activeName>
            </OndutyInfoDTO>
          </OndutyInfoListDTO>
          <OndutyTeamsId>1</OndutyTeamsId>
          <Order>1</Order>
          <PostsId>1</PostsId>
          <StaffIds>sample string 5</StaffIds>
          <StartOndutyDateTime>sample string 2</StartOndutyDateTime>
          <StartOndutyTime>1</StartOndutyTime>
          <Tel>sample string 4</Tel>
        </OndutyBanCiDTO>
      </OndutyBanCiListDTO>
      <OndutyTeamsId>1</OndutyTeamsId>
      <Order>1</Order>
    </PostsDTO>
  </PostsList>
</OndutyTeamsDTO>

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 'OndutyTeamsDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>