This GET API can be used to retrieve organization details in GEP SMART to post them into ERP.
URL Format: https://<Instance>/SmartInterfaceAPI/api/Organization/EntityType
https://<Instance>/SmartInterfaceAPI/api/Organization /EntityType?EntityType= Purchasing Group&PageNo=1&PageSize=10
{
   "data": [
      {
         "entityType": "string",
         "name": "string",
         "code": "string",
         "lobEntityCode": "string",
         "lobEntityType": "string",
         "parentEntityType": "string",
         "parentEntityCode": "string",
         "isActive": true,
         "parentEntityCodes": [
            "string"
         ],
         "isUpdateParentEntities": true,
         "isMapToAllChildEntity": true,
         "isMapToAllParentEntity": true,
         "address": {
            "addressLine1": "string",
            "addressLine2": "string",
            "addressLine3": "string",
            "city": "string",
            "stateCode": "string",
            "stateOther": "string",
            "countryCode": "string",
            "zipCode": "string",
            "faxNo": "string",
            "phoneNo": "string",
            "phoneOther": "string",
            "phoneExtension": "string",
            "phoneOtherExtension": "string",
            "county": "string",
            "poBoxNumber": "string"
         },
         "parentEntityCodeDelta": [
            {
               "entityCode": "string",
               "isActive": true
            }
         ]
      }
   ],
   "statusCode": "200",
   "errorDetails": [
      {
         "key": "string",
         "errors": [
            {
               "errorCode": "string",
               "errorDescription": "string"
            }
         ]
      }
   ],
   "successDetails": [
      {
         "key": "string"
      }
   ]
}
Success Scenario - Request
https://<Instance>/SmartInterfaceAPI/api/Organization /EntityType?EntityType= Purchasing Group&PageNo=1&PageSize=10
Success Scenario – Response
{
  "data": [
    {
      "entityType": " Source System ",
      "name": " KNA-SAP ",
      "code": " KNA-SAP ",
      "lobEntityCode": " KNA-SAP ",
      "lobEntityType": " Source System ",
      "parentEntityType": " Business Region ",
      "parentEntityCode": " KNA ",
      "isActive": true,
      "parentEntityCodes": [
        " KNA "
      ],
      "isUpdateParentEntities": true,
      "isMapToAllChildEntity": true,
      "isMapToAllParentEntity": true,
      "address": {
        "addressLine1": "PO Box 8881011",
        "addressLine2": "220 Lyon Street",
        "addressLine3": "CSBrew Market",
        "city": "Grand Rapids",
        "stateCode": "MI",
        "stateOther": " Texas ",
        "countryCode": "US",
        "zipCode": "49588",
        "faxNo": "1234567892",
        "phoneNo": "9875641235",
        "phoneOther": "1158963485",
        "phoneExtension": "0136",
        "phoneOtherExtension": "0131",
        "county": "string",
        "poBoxNumber": "8881011"
      },
      "parentEntityCodeDelta": [
        {
          "entityCode": "string",
          "isActive": true
        }
      ]
    }
  ],
  "statusCode": "200",
  "errorDetails": [
    {
      "key": "string",
      "errors": [
        {
          "errorCode": "string",
          "errorDescription": "string"
        }
      ]
    }
  ],
  "successDetails": [
    {
      "key": "Source System"
    }
  ]
}
 
| 
			 Get Org Entities by Entity Type  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 1  | 
			
			 List of OrganizationEntity object  | 
			||||
| 
			 2  | 
			
			 StatusCode  | 
			
			 String  | 
			|||
| 
			 3  | 
			
			 List of ErrorModel object  | 
			||||
| 
			 4  | 
			
			 List of SuccessModel object  | 
			||||
| 
			 Data  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 1.1  | 
			
			 EntityType  | 
			
			 String  | 
			
			 Entity Type of the entity  | 
			||
| 
			 1.2  | 
			
			 Name  | 
			
			 String  | 
			
			 Name of the entity  | 
			||
| 
			 1.3  | 
			
			 Code  | 
			
			 String  | 
			
			 Code of the entity  | 
			||
| 
			 1.4  | 
			
			 LOBEntityCode  | 
			
			 String  | 
			
			 Line of Business Entity Code of the entity  | 
			||
| 
			 1.5  | 
			
			 LOBEntityType  | 
			
			 String  | 
			
			 Line of Business Entity Type of the entity  | 
			||
| 
			 1.6  | 
			
			 ParentEntityType  | 
			
			 String  | 
			
			 Parent Entity Type of the entity  | 
			||
| 
			 1.7  | 
			
			 ParentEntityCode  | 
			
			 String  | 
			
			 Parent Entity Code of the entity  | 
			||
| 
			 1.8  | 
			
			 IsActive  | 
			
			 Boolean  | 
			
			 Status of the entity if active or not  | 
			||
| 
			 1.9  | 
			
			 ParentEntityCodes  | 
			
			 List of String  | 
			
			 Parent Entity Codes of the entity  | 
			||
| 
			 1.10  | 
			
			 IsUpdateParentEntities  | 
			
			 Boolean  | 
			
			 Status of the updates of parent entity if active or not  | 
			||
| 
			 1.11  | 
			
			 IsMapToAllChildEntity  | 
			
			 Boolean  | 
			|||
| 
			 1.12  | 
			
			 IsMapToAllParentEntity  | 
			
			 Boolean  | 
			
			 Status of the parent entity if active or not  | 
			||
| 
			 1.13  | 
			
			 Address object  | 
			
			 Check Data Type Address for Details  | 
			|||
| 
			 1.14  | 
			
			 List of ParentEntityCodeDelta object  | 
			
			 Check Data Type ParentEntityCodeDelta for Details  | 
			|||
| 
			 Address  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 1.13.1  | 
			
			 County  | 
			
			 String  | 
			
			 County of the address  | 
			||
| 
			 1.13.2  | 
			
			 PhoneOtherExtension  | 
			
			 String  | 
			
			 Phone 2’s extension of the entity  | 
			||
| 
			 1.13.3  | 
			
			 PhoneExtension  | 
			
			 String  | 
			
			 Phone extension of the entity  | 
			||
| 
			 1.13.4  | 
			
			 PhoneOther  | 
			
			 String  | 
			
			 Phone 2 of the entity  | 
			||
| 
			 1.13.5  | 
			
			 PhoneNo  | 
			
			 String  | 
			
			 Phone number of the entity  | 
			||
| 
			 1.13.6  | 
			
			 FaxNo  | 
			
			 String  | 
			
			 Fax number of the entity  | 
			||
| 
			 1.13.7  | 
			
			 ZipCode  | 
			
			 String  | 
			
			 Zip code of the entity  | 
			||
| 
			 1.13.8  | 
			
			 CountryCode  | 
			
			 String  | 
			
			 Country code of the entity  | 
			||
| 
			 1.13.9  | 
			
			 StateOther  | 
			
			 String  | 
			
			 State name (in case of others) of the entity  | 
			||
| 
			 1.13.10  | 
			
			 StateCode  | 
			
			 String  | 
			
			 State code of the entity  | 
			||
| 
			 1.13.11  | 
			
			 City  | 
			
			 String  | 
			
			 City of the entity  | 
			||
| 
			 1.13.12  | 
			
			 AddressLine3  | 
			
			 String  | 
			
			 Address line 3 of the entity  | 
			||
| 
			 1.13.13  | 
			
			 AddressLine2  | 
			
			 String  | 
			
			 Address line 2 of the entity  | 
			||
| 
			 1.13.14  | 
			
			 AddressLine1  | 
			
			 String  | 
			
			 Address line 1 of the entity  | 
			||
| 
			 1.13.15  | 
			
			 POBoxNumber  | 
			
			 String  | 
			|||
| 
			 ParentEntityCodeDelta  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 1.14.1  | 
			
			 EntityCode  | 
			
			 String  | 
			
			 Code of the entity  | 
			||
| 
			 1.14.2  | 
			
			 IsActive  | 
			
			 Boolean  | 
			
			 Status of the entity if active or not  | 
			||
| 
			 ErrorDetails  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 3.1  | 
			
			 Key  | 
			
			 String  | 
			|||
| 
			 3.2  | 
			
			 List of Error object  | 
			||||
| 
			 Errors  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 3.2.1  | 
			
			 ErrorCode  | 
			
			 String  | 
			|||
| 
			 3.2.2  | 
			
			 ErrorDescription  | 
			
			 String  | 
			|||
| 
			 SuccessDetails  | 
		|||||
| 
			 S.No.  | 
			
			 Property  | 
			
			 Required?  | 
			
			 Data type  | 
			
			 Description  | 
			
			 Validations/Exceptions  | 
		
| 
			 4.1  | 
			
			 Key  | 
			
			 String  | 
			|||