POST api/host/{hostType}/commoditymaps/mscUpdate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hostType | integer |
Required |
Body Parameters
DepartmentCommodityMapName | Description | Type | Additional information |
---|---|---|---|
HostType | HostType |
None. |
|
Description | string |
String length: inclusive between 0 and 255 |
|
DepartmentCode | string |
String length: inclusive between 0 and 20 |
|
SubDepartmentCode | string |
String length: inclusive between 0 and 20 |
|
MinorDepartmentCode | string |
String length: inclusive between 0 and 20 |
|
LesserDepartmentCode | string |
String length: inclusive between 0 and 20 |
|
MscDepartmentCode | string |
String length: inclusive between 0 and 2 |
|
MscCategory | string |
String length: inclusive between 0 and 3 |
|
MscCommodity | string |
String length: inclusive between 0 and 2 |
|
MscSubCommodity | string |
String length: inclusive between 0 and 2 |
Request Formats
application/json, text/json
Sample:
{ "hostType": 1, "description": "sample string 2", "departmentCode": "sample string 3", "subDepartmentCode": "sample string 4", "minorDepartmentCode": "sample string 5", "lesserDepartmentCode": "sample string 6", "mscDepartmentCode": "sample string 7", "mscCategory": "sample string 8", "mscCommodity": "sample string 9", "mscSubCommodity": "sample string 10" }
application/xml, text/xml
Sample:
<DepartmentCommodityMap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Hosts"> <DepartmentCode>sample string 3</DepartmentCode> <Description>sample string 2</Description> <HostType>1</HostType> <LesserDepartmentCode>sample string 6</LesserDepartmentCode> <MinorDepartmentCode>sample string 5</MinorDepartmentCode> <MscCategory>sample string 8</MscCategory> <MscCommodity>sample string 9</MscCommodity> <MscDepartmentCode>sample string 7</MscDepartmentCode> <MscSubCommodity>sample string 10</MscSubCommodity> <SubDepartmentCode>sample string 4</SubDepartmentCode> </DepartmentCommodityMap>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK C�[��� 5 xl/workbook.xml � (� ����0��&�C��(R8q�����������Ǘ�@�������Gz�\O>f��U)����*4OΣ�v�i��Ŝ���Ƶo�6�K�,� I;�����X��.*�d�e@[Z���S�9[��$l ��_`�Ţ��m %�s�*z�$�z��\Y+P^3)���a�m��/PK C�[���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK C�[��M�' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R3eaa3bb686994398" /></Relationships>PK C�[��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK C�[5j�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b;q�8���vÆm��'Q;�]�gc���V� �X��j4��'�|�l�o�H^0���XQA��\��9�����G��D�9���b}J�Ҩ{�d,��.w��L9 ��>�iU���%n��x��?Do�����.���>�b���e�0��S��X��@�L#�Z�R+��� ��ZL���w���kaTUq���i�*�ˀ�9�|�Ӳ�P�L ��Q�2~U�7��PK C�[Ѓc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK C�[�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- C�[��� 5 xl/workbook.xmlPK- C�[���� � � [Content_Types].xmlPK- C�[��M�' ' U _rels/.relsPK- C�[��4 � � xl/worksheets/sheet1.xmlPK- C�[5j�� P - xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E s xl/styles.xmlPK- C�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK C�[^�,� 5 xl/workbook.xml � (� ����0��&�C��BPN\�z4П�5��$���~;�d��3���/\E�l���=*�'cQ�]g���{1�u�cc�[�,=����A�{i=]i���u���A�+J�Դ>)�fO��_d4���I�b��r���"V�� �,�]T4��2�穸%�cw�x�ѝ��J����PK C�[���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK C�[��' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R65f1b1502f124eeb" /></Relationships>PK C�[��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK C�[�/È� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8 &q��ݰa[z��=N�&vd�@�Ƃ#q�"A*�`��h~OO��|�Xoߦ�����-Y��rz�]�h�$l7���D�9��bC}���z�0dn&�:�� cJ}�gTG숗y^q�d�5���3���=:u���?����c�"�=��b?��/��ؓna��Բ��̃P��L-��H���;_�����˦�J`U�T�GO�9�t�Ӳ�P�TP����F�E�_���PK C�[Ѓc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK C�[�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- C�[^�,� 5 xl/workbook.xmlPK- C�[���� � � [Content_Types].xmlPK- C�[��' ' U _rels/.relsPK- C�[��4 � � xl/worksheets/sheet1.xmlPK- C�[�/È� P - xl/_rels/workbook.xml.relsPK- C�[Ѓc'2 E s xl/styles.xmlPK- C�[�/�� � � xl/sharedStrings.xmlPK � �