POST api/AutoAssignConfig/aa/save
Request Information
URI Parameters
None.
Body Parameters
AutoAssignAaConfigSaveModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| BusinessUnitId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| EmployeeName | string |
None. |
|
| EmployeeCode | string |
None. |
|
| AssetTypeList | Collection of string |
None. |
|
| PurposeIds | Collection of globally unique identifier |
None. |
|
| MaxWorkload | integer |
None. |
|
| IsActive | boolean |
None. |
|
| OldLocations | Collection of AutoAssignAaConfigOldLocationDto |
None. |
|
| NewLocations | Collection of AutoAssignAaConfigNewLocationDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "73956e47-7cb4-4b28-aa5f-ba234f5b7a0a",
"BusinessUnitId": "e690d285-770c-4abb-85ba-a0eb1c70d1e8",
"UserId": "71e1fcac-b385-48a7-b6df-f04539a56224",
"EmployeeName": "sample string 4",
"EmployeeCode": "sample string 5",
"AssetTypeList": [
"sample string 1",
"sample string 2"
],
"PurposeIds": [
"112cf6b7-bc58-424d-86ab-0c6916d0835d",
"5d86f5c4-6301-45f5-8a33-2a6aa96dd9a5"
],
"MaxWorkload": 6,
"IsActive": true,
"OldLocations": [
{
"Id": "582b32c5-601d-444e-b78b-85e622e13bb6",
"CityId": "dad16e4e-8843-4685-a8de-69a989db5271",
"CityName": "sample string 3",
"DistrictId": "850df1f2-a847-4986-b6e0-416de0af202c",
"DistrictName": "sample string 4",
"WardId": "a15e063d-a707-470a-998c-28716b4bce70",
"WardName": "sample string 5"
},
{
"Id": "582b32c5-601d-444e-b78b-85e622e13bb6",
"CityId": "dad16e4e-8843-4685-a8de-69a989db5271",
"CityName": "sample string 3",
"DistrictId": "850df1f2-a847-4986-b6e0-416de0af202c",
"DistrictName": "sample string 4",
"WardId": "a15e063d-a707-470a-998c-28716b4bce70",
"WardName": "sample string 5"
}
],
"NewLocations": [
{
"Id": "3c39ced4-48b6-4a38-9c78-46ffbeb0e49d",
"CityId": "5611254f-b6ae-4cf4-bfa3-d3b4469a5e3f",
"CityName": "sample string 3",
"WardId": "05403a51-6a61-40de-8e6e-770f05f23122",
"WardName": "sample string 4"
},
{
"Id": "3c39ced4-48b6-4a38-9c78-46ffbeb0e49d",
"CityId": "5611254f-b6ae-4cf4-bfa3-d3b4469a5e3f",
"CityName": "sample string 3",
"WardId": "05403a51-6a61-40de-8e6e-770f05f23122",
"WardName": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AutoAssignAaConfigSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.AutoAssign">
<AssetTypeList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</AssetTypeList>
<BusinessUnitId>e690d285-770c-4abb-85ba-a0eb1c70d1e8</BusinessUnitId>
<EmployeeCode>sample string 5</EmployeeCode>
<EmployeeName>sample string 4</EmployeeName>
<Id>73956e47-7cb4-4b28-aa5f-ba234f5b7a0a</Id>
<IsActive>true</IsActive>
<MaxWorkload>6</MaxWorkload>
<NewLocations>
<AutoAssignAaConfigNewLocationDto>
<CityId>5611254f-b6ae-4cf4-bfa3-d3b4469a5e3f</CityId>
<CityName>sample string 3</CityName>
<Id>3c39ced4-48b6-4a38-9c78-46ffbeb0e49d</Id>
<WardId>05403a51-6a61-40de-8e6e-770f05f23122</WardId>
<WardName>sample string 4</WardName>
</AutoAssignAaConfigNewLocationDto>
<AutoAssignAaConfigNewLocationDto>
<CityId>5611254f-b6ae-4cf4-bfa3-d3b4469a5e3f</CityId>
<CityName>sample string 3</CityName>
<Id>3c39ced4-48b6-4a38-9c78-46ffbeb0e49d</Id>
<WardId>05403a51-6a61-40de-8e6e-770f05f23122</WardId>
<WardName>sample string 4</WardName>
</AutoAssignAaConfigNewLocationDto>
</NewLocations>
<OldLocations>
<AutoAssignAaConfigOldLocationDto>
<CityId>dad16e4e-8843-4685-a8de-69a989db5271</CityId>
<CityName>sample string 3</CityName>
<DistrictId>850df1f2-a847-4986-b6e0-416de0af202c</DistrictId>
<DistrictName>sample string 4</DistrictName>
<Id>582b32c5-601d-444e-b78b-85e622e13bb6</Id>
<WardId>a15e063d-a707-470a-998c-28716b4bce70</WardId>
<WardName>sample string 5</WardName>
</AutoAssignAaConfigOldLocationDto>
<AutoAssignAaConfigOldLocationDto>
<CityId>dad16e4e-8843-4685-a8de-69a989db5271</CityId>
<CityName>sample string 3</CityName>
<DistrictId>850df1f2-a847-4986-b6e0-416de0af202c</DistrictId>
<DistrictName>sample string 4</DistrictName>
<Id>582b32c5-601d-444e-b78b-85e622e13bb6</Id>
<WardId>a15e063d-a707-470a-998c-28716b4bce70</WardId>
<WardName>sample string 5</WardName>
</AutoAssignAaConfigOldLocationDto>
</OldLocations>
<PurposeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>112cf6b7-bc58-424d-86ab-0c6916d0835d</d2p1:guid>
<d2p1:guid>5d86f5c4-6301-45f5-8a33-2a6aa96dd9a5</d2p1:guid>
</PurposeIds>
<UserId>71e1fcac-b385-48a7-b6df-f04539a56224</UserId>
</AutoAssignAaConfigSaveModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.