POST api/AutoAssignConfig/ar/save
Request Information
URI Parameters
None.
Body Parameters
AutoAssignArConfigSaveModel| 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. |
|
| IsActive | boolean |
None. |
|
| OldLocations | Collection of AutoAssignArConfigOldLocationDto |
None. |
|
| NewLocations | Collection of AutoAssignArConfigNewLocationDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "31af7c74-c062-49c9-a4cd-ddb3e8a37b8c",
"BusinessUnitId": "a901ae29-edce-44e9-83dd-2c74d660d1c9",
"UserId": "d39a54da-7091-45f6-b6d4-5196cc7fdc9e",
"EmployeeName": "sample string 4",
"EmployeeCode": "sample string 5",
"IsActive": true,
"OldLocations": [
{
"Id": "1318971d-e356-4939-a0b8-39ef2248a252",
"CityId": "8ff025b1-0ca2-48bd-9f46-861bdb8e421e",
"CityName": "sample string 3",
"DistrictId": "c22a0d43-65e0-4286-a5a5-2da2fe570a99",
"DistrictName": "sample string 4",
"WardId": "1d412418-13e3-4abe-9d30-e34822c051fa",
"WardName": "sample string 5"
},
{
"Id": "1318971d-e356-4939-a0b8-39ef2248a252",
"CityId": "8ff025b1-0ca2-48bd-9f46-861bdb8e421e",
"CityName": "sample string 3",
"DistrictId": "c22a0d43-65e0-4286-a5a5-2da2fe570a99",
"DistrictName": "sample string 4",
"WardId": "1d412418-13e3-4abe-9d30-e34822c051fa",
"WardName": "sample string 5"
}
],
"NewLocations": [
{
"Id": "4e24f53e-7816-458e-9535-ed27bf31dde7",
"CityId": "b32a8b34-b520-4f61-ad10-1dd25b59969e",
"CityName": "sample string 3",
"WardId": "c01590a3-e63c-4e77-b24a-cfc2e3ef51e8",
"WardName": "sample string 4"
},
{
"Id": "4e24f53e-7816-458e-9535-ed27bf31dde7",
"CityId": "b32a8b34-b520-4f61-ad10-1dd25b59969e",
"CityName": "sample string 3",
"WardId": "c01590a3-e63c-4e77-b24a-cfc2e3ef51e8",
"WardName": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AutoAssignArConfigSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.AutoAssign">
<BusinessUnitId>a901ae29-edce-44e9-83dd-2c74d660d1c9</BusinessUnitId>
<EmployeeCode>sample string 5</EmployeeCode>
<EmployeeName>sample string 4</EmployeeName>
<Id>31af7c74-c062-49c9-a4cd-ddb3e8a37b8c</Id>
<IsActive>true</IsActive>
<NewLocations>
<AutoAssignArConfigNewLocationDto>
<CityId>b32a8b34-b520-4f61-ad10-1dd25b59969e</CityId>
<CityName>sample string 3</CityName>
<Id>4e24f53e-7816-458e-9535-ed27bf31dde7</Id>
<WardId>c01590a3-e63c-4e77-b24a-cfc2e3ef51e8</WardId>
<WardName>sample string 4</WardName>
</AutoAssignArConfigNewLocationDto>
<AutoAssignArConfigNewLocationDto>
<CityId>b32a8b34-b520-4f61-ad10-1dd25b59969e</CityId>
<CityName>sample string 3</CityName>
<Id>4e24f53e-7816-458e-9535-ed27bf31dde7</Id>
<WardId>c01590a3-e63c-4e77-b24a-cfc2e3ef51e8</WardId>
<WardName>sample string 4</WardName>
</AutoAssignArConfigNewLocationDto>
</NewLocations>
<OldLocations>
<AutoAssignArConfigOldLocationDto>
<CityId>8ff025b1-0ca2-48bd-9f46-861bdb8e421e</CityId>
<CityName>sample string 3</CityName>
<DistrictId>c22a0d43-65e0-4286-a5a5-2da2fe570a99</DistrictId>
<DistrictName>sample string 4</DistrictName>
<Id>1318971d-e356-4939-a0b8-39ef2248a252</Id>
<WardId>1d412418-13e3-4abe-9d30-e34822c051fa</WardId>
<WardName>sample string 5</WardName>
</AutoAssignArConfigOldLocationDto>
<AutoAssignArConfigOldLocationDto>
<CityId>8ff025b1-0ca2-48bd-9f46-861bdb8e421e</CityId>
<CityName>sample string 3</CityName>
<DistrictId>c22a0d43-65e0-4286-a5a5-2da2fe570a99</DistrictId>
<DistrictName>sample string 4</DistrictName>
<Id>1318971d-e356-4939-a0b8-39ef2248a252</Id>
<WardId>1d412418-13e3-4abe-9d30-e34822c051fa</WardId>
<WardName>sample string 5</WardName>
</AutoAssignArConfigOldLocationDto>
</OldLocations>
<UserId>d39a54da-7091-45f6-b6d4-5196cc7fdc9e</UserId>
</AutoAssignArConfigSaveModel>
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.