POST api/host/{hostType}/commoditymaps
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hostType | integer |
Required |
Body Parameters
CommodityMapName | Description | Type | Additional information |
---|---|---|---|
HostType | HostType |
None. |
|
HostIdentifier | Collection of byte |
Deprecated. Please use HostType. |
|
HostIdentifierGuid | globally unique identifier |
Deprecated. Please use HostType. |
|
Commodity | string |
Required String length: inclusive between 0 and 20 |
|
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 |
Request Formats
application/json, text/json
Sample:
{ "hostType": 1, "hostIdentifier": "9zkJasLmrkC47cB5UfLp6w==", "hostIdentifierGuid": "6a0939f7-e6c2-40ae-b8ed-c07951f2e9eb", "commodity": "sample string 3", "description": "sample string 4", "departmentCode": "sample string 5", "subDepartmentCode": "sample string 6", "minorDepartmentCode": "sample string 7", "lesserDepartmentCode": "sample string 8" }
application/xml, text/xml
Sample:
<CommodityMap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Hosts"> <Commodity>sample string 3</Commodity> <DepartmentCode>sample string 5</DepartmentCode> <Description>sample string 4</Description> <HostIdentifier>9zkJasLmrkC47cB5UfLp6w==</HostIdentifier> <HostIdentifierGuid>6a0939f7-e6c2-40ae-b8ed-c07951f2e9eb</HostIdentifierGuid> <HostType>1</HostType> <LesserDepartmentCode>sample string 8</LesserDepartmentCode> <MinorDepartmentCode>sample string 7</MinorDepartmentCode> <SubDepartmentCode>sample string 6</SubDepartmentCode> </CommodityMap>
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 E�['�b� 5 xl/workbook.xml � (� ����0��&�C��H���x��}-�4Пtk��H�yۙ��v����i��>z4T���!�B�=j��uh�]g��0K�����ʷFD�$��8BP�P�����Gh�Gz\Q�����X�4{(�(����.&kH����/�b4V�� �E��V�̙/�<ܳD�̠�Vf�6�;{��b�]PK E�[���� � [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 E�[[X�S' ' _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="R3d59405fb3fb433d" /></Relationships>PK E�[��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 E�[l��a� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I���ݰa���=N�&�e�О�G� XEWb�������4����ޞ�����5��FZ5���S�-l7��"��0N.��bBc��� G\D(�C�:��EĔ��:!�b@Z1�P�3�I��!Z�'��V�4�0}��F�� �����R��P� �Eu��LV5r�QIު��Z��ï�w�˴�o�Z>J.8+�ʌ£�G�.�;��LM���"k�\ɫ����PK E�[Ѓ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 E�[�/�� � 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- E�['�b� 5 xl/workbook.xmlPK- E�[���� � � [Content_Types].xmlPK- E�[[X�S' ' U _rels/.relsPK- E�[��4 � � xl/worksheets/sheet1.xmlPK- E�[l��a� P - xl/_rels/workbook.xml.relsPK- E�[Ѓc'2 E q xl/styles.xmlPK- E�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK E�[ä�+� 5 xl/workbook.xml � (� ����0��&�C���"8q���{��m�?ik��-%�x�3;��ԋqSō>j־r !؊?P�_�w�8�B��E�r��o:�<� �`fA텴o�X�:`� A�J1�q{>!T�͞�d4�����"��:�����f ܱ�0J�}l0��U2N�,/ǂ�=\�����d��~PK E�[���� � [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 E�[�ʶ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="Ra873e6b4dab64818" /></Relationships>PK E�[��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 E�[�ڣ�� P xl/_rels/workbook.xml.rels � (� ��AN�0E�b͞8N���ݰa[z��3N�&vd�@�Ƃ#q�"�+�`ӕ5짧�lvo��^��ɚD�#�l?���S�w 춛=�� ?N�g��-�!��{5҂>�+����-b���:�@���Lv8����zR�h�i!� �W�~$ �� -�D�_�E*�����2/d_���J4�������w��t��ԕ�.���nn*3���9����)��9I�JTMC��$V5~�/�_PK E�[Ѓ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 E�[�/�� � 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- E�[ä�+� 5 xl/workbook.xmlPK- E�[���� � [Content_Types].xmlPK- E�[�ʶC' ' V _rels/.relsPK- E�[��4 � � xl/worksheets/sheet1.xmlPK- E�[�ڣ�� P . xl/_rels/workbook.xml.relsPK- E�[Ѓc'2 E t xl/styles.xmlPK- E�[�/�� � � xl/sharedStrings.xmlPK � �