POST api/Lookup/PostAreaOfPractice

Request Information

URI Parameters

None.

Body Parameters

AreaOfPracticeEditVm
NameDescriptionTypeAdditional information
Item

LU_AreaOfPractice_GetResult

None.

Result

DbActionResult

None.

AuthToken

string

None.

repo

DataRepository

None.

Id

integer

None.

ConnectionString

string

None.

ModelErrors

Collection of ModelErrorItem

None.

IsInError

boolean

None.

RecordCount

integer

None.

AllCriteria

AllCriteria

None.

Request Formats

application/json, text/json

Sample:
{
  "Item": {
    "AreaOfPracticeId": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "CreatedDate": "2024-11-26T17:47:28.8625861+02:00",
    "AuthToken": "sample string 5"
  },
  "Result": {
    "ActionResultGuid": "7443b4c9-3d31-4fe5-a837-07e4f2464677",
    "IsSuccess": true,
    "Message": "sample string 3",
    "ReturnRecordId": 1,
    "Errors": [
      {
        "ActionResultGuid": "cdb34541-61e9-4341-97f2-a48e076feb2d",
        "ActionResultId": 2,
        "UserId": 3,
        "ObjectName": "sample string 4",
        "ResultMessage": "sample string 5",
        "IsError": true,
        "TableColumn": "sample string 7",
        "LogDateTime": "2024-11-26T17:47:28.8625861+02:00",
        "ReturnRecordId": 1
      },
      {
        "ActionResultGuid": "cdb34541-61e9-4341-97f2-a48e076feb2d",
        "ActionResultId": 2,
        "UserId": 3,
        "ObjectName": "sample string 4",
        "ResultMessage": "sample string 5",
        "IsError": true,
        "TableColumn": "sample string 7",
        "LogDateTime": "2024-11-26T17:47:28.8625861+02:00",
        "ReturnRecordId": 1
      }
    ]
  },
  "AuthToken": "sample string 1",
  "repo": {
    "SessionContext": {
      "ConnectionString": "sample string 1",
      "UserId": 2,
      "SessionId": "sample string 3",
      "AuthToken": "sample string 4"
    },
    "EventRepo": {
      "ProgramId": null,
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "ChartRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "LogsRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "UserRepo": {
      "AdminLookup": null,
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "MenuRepo": {
      "Items": null,
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "MembershipRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "AdminRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "SystemRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "AccountRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "LoginRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "InvoiceRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "PaymentRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "ProviderRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    },
    "LookupRepo": {
      "DataContext": {
        "CommandTimeout": null,
        "UserId": 0
      },
      "Id": 0,
      "SessionContext": {
        "ConnectionString": "sample string 1",
        "UserId": 2,
        "SessionId": "sample string 3",
        "AuthToken": "sample string 4"
      }
    }
  },
  "Id": 1,
  "ConnectionString": "sample string 2",
  "ModelErrors": [
    {
      "Key": "sample string 1",
      "Error": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Error": "sample string 2"
    }
  ],
  "IsInError": true,
  "RecordCount": 1,
  "AllCriteria": {
    "AuthToken": "sample string 1",
    "Search": "sample string 2",
    "Page": 1,
    "PageSize": 1,
    "SortField": "sample string 3",
    "SortAscending": true,
    "IsActive": true,
    "EventId": 4,
    "DataStatusId": 1,
    "MembershipTypeId": 1,
    "TownId": 1,
    "ProvinceId": 1,
    "SpecialityId": 1,
    "CountryId": 1,
    "AreaOfPracticeId": 1,
    "ProfessionId": 1,
    "MemberListId": 1,
    "Members": "sample string 5",
    "MembersIds": "sample string 6",
    "PersonIds": "sample string 7",
    "MeetingId": 1,
    "IncludeFinancials": true,
    "PaymentSponsorId": 1,
    "IsSearchNetwork": true,
    "IsFdp": true,
    "FinancialQuery": "sample string 8",
    "MembershipExpiryQuery": "sample string 9",
    "PredefinedQuery": "sample string 10",
    "MemberReferenceId": 1,
    "MembershipTypeIds": "sample string 11",
    "ProfessionIds": "sample string 12",
    "AreaOfPracticeIds": "sample string 13",
    "TownIds": "sample string 14",
    "ProvinceIds": "sample string 15",
    "ServiceId": 1,
    "InvoiceStartDate": "2024-11-26T17:47:28.8625861+02:00",
    "InvoiceEndDate": "2024-11-26T17:47:28.8625861+02:00",
    "GenderId": 1,
    "MembershipNumber": 1,
    "MembershipInvoiceId": 1,
    "TimeDimType": "sample string 16",
    "TopX": 1,
    "GroupName": "sample string 17",
    "GroupCode": "sample string 18",
    "GroupDescription": "sample string 19",
    "Name": "sample string 20",
    "Code": "sample string 21",
    "CreatedDate": "2024-11-26T17:47:28.8625861+02:00"
  }
}

application/xml, text/xml

Sample:
<AreaOfPracticeEditVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.ViewModels.AreaOfPractice">
  <AllCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">
    <d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId>
    <d2p1:AreaOfPracticeIds>sample string 13</d2p1:AreaOfPracticeIds>
    <d2p1:AuthToken>sample string 1</d2p1:AuthToken>
    <d2p1:Code>sample string 21</d2p1:Code>
    <d2p1:CountryId>1</d2p1:CountryId>
    <d2p1:CreatedDate>2024-11-26T17:47:28.8625861+02:00</d2p1:CreatedDate>
    <d2p1:DataStatusId>1</d2p1:DataStatusId>
    <d2p1:EventId>4</d2p1:EventId>
    <d2p1:FinancialQuery>sample string 8</d2p1:FinancialQuery>
    <d2p1:GenderId>1</d2p1:GenderId>
    <d2p1:GroupCode>sample string 18</d2p1:GroupCode>
    <d2p1:GroupDescription>sample string 19</d2p1:GroupDescription>
    <d2p1:GroupName>sample string 17</d2p1:GroupName>
    <d2p1:IncludeFinancials>true</d2p1:IncludeFinancials>
    <d2p1:InvoiceEndDate>2024-11-26T17:47:28.8625861+02:00</d2p1:InvoiceEndDate>
    <d2p1:InvoiceStartDate>2024-11-26T17:47:28.8625861+02:00</d2p1:InvoiceStartDate>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsFdp>true</d2p1:IsFdp>
    <d2p1:IsSearchNetwork>true</d2p1:IsSearchNetwork>
    <d2p1:MeetingId>1</d2p1:MeetingId>
    <d2p1:MemberListId>1</d2p1:MemberListId>
    <d2p1:MemberReferenceId>1</d2p1:MemberReferenceId>
    <d2p1:Members>sample string 5</d2p1:Members>
    <d2p1:MembersIds>sample string 6</d2p1:MembersIds>
    <d2p1:MembershipExpiryQuery>sample string 9</d2p1:MembershipExpiryQuery>
    <d2p1:MembershipInvoiceId>1</d2p1:MembershipInvoiceId>
    <d2p1:MembershipNumber>1</d2p1:MembershipNumber>
    <d2p1:MembershipTypeId>1</d2p1:MembershipTypeId>
    <d2p1:MembershipTypeIds>sample string 11</d2p1:MembershipTypeIds>
    <d2p1:Name>sample string 20</d2p1:Name>
    <d2p1:Page>1</d2p1:Page>
    <d2p1:PageSize>1</d2p1:PageSize>
    <d2p1:PaymentSponsorId>1</d2p1:PaymentSponsorId>
    <d2p1:PersonIds>sample string 7</d2p1:PersonIds>
    <d2p1:PredefinedQuery>sample string 10</d2p1:PredefinedQuery>
    <d2p1:ProfessionId>1</d2p1:ProfessionId>
    <d2p1:ProfessionIds>sample string 12</d2p1:ProfessionIds>
    <d2p1:ProvinceId>1</d2p1:ProvinceId>
    <d2p1:ProvinceIds>sample string 15</d2p1:ProvinceIds>
    <d2p1:Search>sample string 2</d2p1:Search>
    <d2p1:ServiceId>1</d2p1:ServiceId>
    <d2p1:SortAscending>true</d2p1:SortAscending>
    <d2p1:SortField>sample string 3</d2p1:SortField>
    <d2p1:SpecialityId>1</d2p1:SpecialityId>
    <d2p1:TimeDimType>sample string 16</d2p1:TimeDimType>
    <d2p1:TopX>1</d2p1:TopX>
    <d2p1:TownId>1</d2p1:TownId>
    <d2p1:TownIds>sample string 14</d2p1:TownIds>
  </AllCriteria>
  <AuthToken xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 1</AuthToken>
  <ConnectionString xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 2</ConnectionString>
  <Id xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</Id>
  <ModelErrors xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">
    <ModelErrorItem>
      <Error>sample string 2</Error>
      <Key>sample string 1</Key>
    </ModelErrorItem>
    <ModelErrorItem>
      <Error>sample string 2</Error>
      <Key>sample string 1</Key>
    </ModelErrorItem>
  </ModelErrors>
  <RecordCount xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</RecordCount>
  <repo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Datebase" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction" />
  <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo">
    <d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId>
    <d2p1:AuthToken>sample string 5</d2p1:AuthToken>
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:CreatedDate>2024-11-26T17:47:28.8625861+02:00</d2p1:CreatedDate>
    <d2p1:Name>sample string 3</d2p1:Name>
  </Item>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Models">
    <d2p1:ActionResultGuid>7443b4c9-3d31-4fe5-a837-07e4f2464677</d2p1:ActionResultGuid>
    <d2p1:Errors>
      <d2p1:DbActionResultItem>
        <d2p1:ActionResultGuid>cdb34541-61e9-4341-97f2-a48e076feb2d</d2p1:ActionResultGuid>
        <d2p1:ActionResultId>2</d2p1:ActionResultId>
        <d2p1:IsError>true</d2p1:IsError>
        <d2p1:LogDateTime>2024-11-26T17:47:28.8625861+02:00</d2p1:LogDateTime>
        <d2p1:ObjectName>sample string 4</d2p1:ObjectName>
        <d2p1:ResultMessage>sample string 5</d2p1:ResultMessage>
        <d2p1:ReturnRecordId>1</d2p1:ReturnRecordId>
        <d2p1:TableColumn>sample string 7</d2p1:TableColumn>
        <d2p1:UserId>3</d2p1:UserId>
      </d2p1:DbActionResultItem>
      <d2p1:DbActionResultItem>
        <d2p1:ActionResultGuid>cdb34541-61e9-4341-97f2-a48e076feb2d</d2p1:ActionResultGuid>
        <d2p1:ActionResultId>2</d2p1:ActionResultId>
        <d2p1:IsError>true</d2p1:IsError>
        <d2p1:LogDateTime>2024-11-26T17:47:28.8625861+02:00</d2p1:LogDateTime>
        <d2p1:ObjectName>sample string 4</d2p1:ObjectName>
        <d2p1:ResultMessage>sample string 5</d2p1:ResultMessage>
        <d2p1:ReturnRecordId>1</d2p1:ReturnRecordId>
        <d2p1:TableColumn>sample string 7</d2p1:TableColumn>
        <d2p1:UserId>3</d2p1:UserId>
      </d2p1:DbActionResultItem>
    </d2p1:Errors>
    <d2p1:IsSuccess>true</d2p1:IsSuccess>
    <d2p1:Message>sample string 3</d2p1:Message>
    <d2p1:ReturnRecordId>1</d2p1:ReturnRecordId>
  </Result>
</AreaOfPracticeEditVm>

multipart/form-data

Sample:
<AreaOfPracticeEditVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.ViewModels.AreaOfPractice"><AllCriteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"><d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId><d2p1:AreaOfPracticeIds>sample string 13</d2p1:AreaOfPracticeIds><d2p1:AuthToken>sample string 1</d2p1:AuthToken><d2p1:Code>sample string 21</d2p1:Code><d2p1:CountryId>1</d2p1:CountryId><d2p1:CreatedDate>2024-11-26T17:47:28.8625861+02:00</d2p1:CreatedDate><d2p1:DataStatusId>1</d2p1:DataStatusId><d2p1:EventId>4</d2p1:EventId><d2p1:FinancialQuery>sample string 8</d2p1:FinancialQuery><d2p1:GenderId>1</d2p1:GenderId><d2p1:GroupCode>sample string 18</d2p1:GroupCode><d2p1:GroupDescription>sample string 19</d2p1:GroupDescription><d2p1:GroupName>sample string 17</d2p1:GroupName><d2p1:IncludeFinancials>true</d2p1:IncludeFinancials><d2p1:InvoiceEndDate>2024-11-26T17:47:28.8625861+02:00</d2p1:InvoiceEndDate><d2p1:InvoiceStartDate>2024-11-26T17:47:28.8625861+02:00</d2p1:InvoiceStartDate><d2p1:IsActive>true</d2p1:IsActive><d2p1:IsFdp>true</d2p1:IsFdp><d2p1:IsSearchNetwork>true</d2p1:IsSearchNetwork><d2p1:MeetingId>1</d2p1:MeetingId><d2p1:MemberListId>1</d2p1:MemberListId><d2p1:MemberReferenceId>1</d2p1:MemberReferenceId><d2p1:Members>sample string 5</d2p1:Members><d2p1:MembersIds>sample string 6</d2p1:MembersIds><d2p1:MembershipExpiryQuery>sample string 9</d2p1:MembershipExpiryQuery><d2p1:MembershipInvoiceId>1</d2p1:MembershipInvoiceId><d2p1:MembershipNumber>1</d2p1:MembershipNumber><d2p1:MembershipTypeId>1</d2p1:MembershipTypeId><d2p1:MembershipTypeIds>sample string 11</d2p1:MembershipTypeIds><d2p1:Name>sample string 20</d2p1:Name><d2p1:Page>1</d2p1:Page><d2p1:PageSize>1</d2p1:PageSize><d2p1:PaymentSponsorId>1</d2p1:PaymentSponsorId><d2p1:PersonIds>sample string 7</d2p1:PersonIds><d2p1:PredefinedQuery>sample string 10</d2p1:PredefinedQuery><d2p1:ProfessionId>1</d2p1:ProfessionId><d2p1:ProfessionIds>sample string 12</d2p1:ProfessionIds><d2p1:ProvinceId>1</d2p1:ProvinceId><d2p1:ProvinceIds>sample string 15</d2p1:ProvinceIds><d2p1:Search>sample string 2</d2p1:Search><d2p1:ServiceId>1</d2p1:ServiceId><d2p1:SortAscending>true</d2p1:SortAscending><d2p1:SortField>sample string 3</d2p1:SortField><d2p1:SpecialityId>1</d2p1:SpecialityId><d2p1:TimeDimType>sample string 16</d2p1:TimeDimType><d2p1:TopX>1</d2p1:TopX><d2p1:TownId>1</d2p1:TownId><d2p1:TownIds>sample string 14</d2p1:TownIds></AllCriteria><AuthToken xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 1</AuthToken><ConnectionString xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">sample string 2</ConnectionString><Id xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</Id><ModelErrors xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction"><ModelErrorItem><Error>sample string 2</Error><Key>sample string 1</Key></ModelErrorItem><ModelErrorItem><Error>sample string 2</Error><Key>sample string 1</Key></ModelErrorItem></ModelErrors><RecordCount xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction">1</RecordCount><repo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Datebase" xmlns="http://schemas.datacontract.org/2004/07/SahivV3_Api.Framework.Abstraction" /><Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"><d2p1:AreaOfPracticeId>1</d2p1:AreaOfPracticeId><d2p1:AuthToken>sample string 5</d2p1:AuthToken><d2p1:Code>sample string 2</d2p1:Code><d2p1:CreatedDate>2024-11-26T17:47:28.8625861+02:00</d2p1:CreatedDate><d2p1:Name>sample string 3</d2p1:Name></Item><Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Models"><d2p1:ActionResultGuid>7443b4c9-3d31-4fe5-a837-07e4f2464677</d2p1:ActionResultGuid><d2p1:Errors><d2p1:DbActionResultItem><d2p1:ActionResultGuid>cdb34541-61e9-4341-97f2-a48e076feb2d</d2p1:ActionResultGuid><d2p1:ActionResultId>2</d2p1:ActionResultId><d2p1:IsError>true</d2p1:IsError><d2p1:LogDateTime>2024-11-26T17:47:28.8625861+02:00</d2p1:LogDateTime><d2p1:ObjectName>sample string 4</d2p1:ObjectName><d2p1:ResultMessage>sample string 5</d2p1:ResultMessage><d2p1:ReturnRecordId>1</d2p1:ReturnRecordId><d2p1:TableColumn>sample string 7</d2p1:TableColumn><d2p1:UserId>3</d2p1:UserId></d2p1:DbActionResultItem><d2p1:DbActionResultItem><d2p1:ActionResultGuid>cdb34541-61e9-4341-97f2-a48e076feb2d</d2p1:ActionResultGuid><d2p1:ActionResultId>2</d2p1:ActionResultId><d2p1:IsError>true</d2p1:IsError><d2p1:LogDateTime>2024-11-26T17:47:28.8625861+02:00</d2p1:LogDateTime><d2p1:ObjectName>sample string 4</d2p1:ObjectName><d2p1:ResultMessage>sample string 5</d2p1:ResultMessage><d2p1:ReturnRecordId>1</d2p1:ReturnRecordId><d2p1:TableColumn>sample string 7</d2p1:TableColumn><d2p1:UserId>3</d2p1:UserId></d2p1:DbActionResultItem></d2p1:Errors><d2p1:IsSuccess>true</d2p1:IsSuccess><d2p1:Message>sample string 3</d2p1:Message><d2p1:ReturnRecordId>1</d2p1:ReturnRecordId></Result></AreaOfPracticeEditVm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.